commitpkg: Adjust fancy quoting/escaping to not confuse Emacs.

It was confusing Emacs and screwing up the syntax highlighting and
auto-indentation for the rest of the file.
This commit is contained in:
Luke Shumaker 2017-03-28 15:41:33 -04:00 committed by Jan Alexander Steffens (heftig)
parent f55786b7a8
commit ae82f88e51
No known key found for this signature in database
GPG Key ID: A5E9288C4FA415FA
1 changed files with 1 additions and 1 deletions

View File

@ -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