summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commitpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/commitpkg.in b/commitpkg.in
index 3b3246b..707a81c 100644
--- a/commitpkg.in
+++ b/commitpkg.in
@@ -47,7 +47,7 @@ done
for i in 'changelog' 'install'; do
while read -r file; do
# evaluate any bash variables used
- eval file=\"$(sed 's/^\(['\''"]\)\(.*\)\1$/\2/' <<< "$file")\"
+ eval file=\"$(sed "s/^\(['\"]\)\(.*\)\1\$/\2/" <<< "$file")\"
needsversioning+=("$file")
done < <(sed -n "s/^[[:space:]]*$i=//p" PKGBUILD)
done