Commit 9cc25b8c authored by Jason Chu's avatar Jason Chu
Browse files

look for packages in the PKGDEST directory if we can't find them locally

git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@219 630f3fb4-fbd1-0310-a574-b293cca3120f
parent 451393de
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -12,6 +12,10 @@ fi
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