Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/commitpkg.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-02-06 03:03:57 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2017-02-16 14:42:38 -0500
commit978caaf7de4b7e18d5b9a3763d479ab5a7adae24 (patch)
tree6e103e943502b9fa65dc9bdd5fd3e184bff5fc70 /commitpkg.in
parentadbb2b576709b8fd15e59cfcebd672c27d50d01f (diff)
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.
Diffstat (limited to 'commitpkg.in')
-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