summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xextrapkg4
1 files changed, 4 insertions, 0 deletions
diff --git a/extrapkg b/extrapkg
index e2b670a..fb9f6bc 100755
--- a/extrapkg
+++ b/extrapkg
@@ -13,6 +13,10 @@ source PKGBUILD
pkgfile=${pkgname}-${pkgver}-${pkgrel}.pkg.tar.gz
if [ ! -f $pkgfile ]; then
+ pkgfile=$PKGDEST/$pkgfile
+fi
+
+if [ ! -f $pkgfile ]; then
echo "File $pkgfile doesn't exist"
exit 1
fi