diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-03-28 15:41:33 -0400 |
---|---|---|
committer | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2017-04-05 22:10:03 +0200 |
commit | ae82f88e51d9ec14d28b6e0d73675767af6aff75 (patch) | |
tree | 1468651d42dbc2efcad80e5f08d9a49776df1eb4 | |
parent | f55786b7a83a1f70920616d56231bb722f2888d9 (diff) | |
download | devtools32-ae82f88e51d9ec14d28b6e0d73675767af6aff75.tar.xz |
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.
-rw-r--r-- | commitpkg.in | 2 |
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 |