diff options
-rwxr-xr-x | commitpkg | 3 | ||||
-rwxr-xr-x | makechrootpkg | 3 |
2 files changed, 2 insertions, 4 deletions
@@ -69,8 +69,7 @@ done) || true # check if changelog and install files are under version control (for i in 'changelog' 'install'; do - local filelist=$(sed -n "s/^[[:space:]]*$i=//p" PKGBUILD) - local file + filelist=$(sed -n "s/^[[:space:]]*$i=//p" PKGBUILD) for file in $filelist; do # evaluate any bash variables used eval file=${file} diff --git a/makechrootpkg b/makechrootpkg index 745fb0f..79dc517 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -163,8 +163,7 @@ for f in ${source[@]}; do done for i in 'changelog' 'install'; do - local filelist=$(sed -n "s/^[[:space:]]*$i=//p" PKGBUILD) - local file + filelist=$(sed -n "s/^[[:space:]]*$i=//p" PKGBUILD) for file in $filelist; do # evaluate any bash variables used eval file=${file} |