summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/libreaddiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/abslibre-tools/libreaddiff')
-rwxr-xr-xsrc/abslibre-tools/libreaddiff7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/abslibre-tools/libreaddiff b/src/abslibre-tools/libreaddiff
index fafdada..e31cc7b 100755
--- a/src/abslibre-tools/libreaddiff
+++ b/src/abslibre-tools/libreaddiff
@@ -68,12 +68,7 @@ except StopIteration:
# Needed to not include pkgnames specific to other arches.
CARCH=$arch
for f in $repo/* ; do
- unset pkgname
- unset epoch
- unset pkgver
- unset pkgrel
- unset arch
- . $f/PKGBUILD || continue
+ load_PKGBUILD "$f/PKGBUILD" || continue
is_here=false
for arc in ${arch[@]} ; do
if [ "$arc" = "any" -o "$arc" = "$CARCH" ] ; then