From ae5083fc118c6a708eec7f7c357ce8363eb2d78a Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 20 Aug 2010 11:55:33 +0200 Subject: source PKGBUILD before evaluating install and changelog files This makes it possible to use e.g. install=$pkgname.install --- makechrootpkg | 2 ++ 1 file changed, 2 insertions(+) (limited to 'makechrootpkg') diff --git a/makechrootpkg b/makechrootpkg index c73b468..572a215 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -179,6 +179,7 @@ for f in ${source[@]}; do fi done +( . PKGBUILD for i in 'changelog' 'install'; do filelist=$(sed -n "s/^[[:space:]]*$i=//p" PKGBUILD) for file in $filelist; do @@ -189,6 +190,7 @@ for i in 'changelog' 'install'; do fi done done +) chown -R nobody "$copydir/build" chown -R nobody "$copydir/srcdest" -- cgit v1.2.3-24-g4f1b