summaryrefslogtreecommitdiff
path: root/pre-commit.d/30store-metadata
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2011-12-22 03:01:45 +0100
committerJoey Hess <joey@kitenet.net>2011-12-22 11:47:19 -0400
commitae8d76698220afe450192e3a73545b398c8b48c4 (patch)
tree5a769f1dd4e23cb92d057db405fbb84561d32007 /pre-commit.d/30store-metadata
parentaeeebf383483acbf7756bdf81e8c49d28b49c713 (diff)
Add `g` to shellquote's sed.
Props danielsh (Daniel Shahaf) in #zsh.
Diffstat (limited to 'pre-commit.d/30store-metadata')
-rwxr-xr-xpre-commit.d/30store-metadata2
1 files changed, 1 insertions, 1 deletions
diff --git a/pre-commit.d/30store-metadata b/pre-commit.d/30store-metadata
index ce0bc02..455429a 100755
--- a/pre-commit.d/30store-metadata
+++ b/pre-commit.d/30store-metadata
@@ -32,7 +32,7 @@ filter_ignore() {
shellquote() {
# Single quotes text, escaping existing single quotes.
- sed -e "s/'/'\"'\"'/" -e "s/^/'/" -e "s/$/'/"
+ sed -e "s/'/'\"'\"'/g" -e "s/^/'/" -e "s/$/'/"
}
generate_metadata() {