summaryrefslogtreecommitdiffstats
path: root/commitpkg
diff options
context:
space:
mode:
Diffstat (limited to 'commitpkg')
-rwxr-xr-xcommitpkg3
1 files changed, 1 insertions, 2 deletions
diff --git a/commitpkg b/commitpkg
index 627941f..74463c9 100755
--- a/commitpkg
+++ b/commitpkg
@@ -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}