diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-20 11:55:33 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-20 11:55:33 +0200 |
commit | ae5083fc118c6a708eec7f7c357ce8363eb2d78a (patch) | |
tree | c29d6c1f9618404e8e93e20215e82e2fd43656f2 /makechrootpkg | |
parent | 6f4e865ff99f9658797e069dcb2e6ea454aaf240 (diff) | |
download | devtools-ae5083fc118c6a708eec7f7c357ce8363eb2d78a.tar.gz devtools-ae5083fc118c6a708eec7f7c357ce8363eb2d78a.tar.xz |
source PKGBUILD before evaluating install and changelog files
This makes it possible to use e.g. install=$pkgname.install
Diffstat (limited to 'makechrootpkg')
-rwxr-xr-x | makechrootpkg | 2 |
1 files changed, 2 insertions, 0 deletions
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" |