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:
parent
f55786b7a8
commit
ae82f88e51
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue