diff options
author | Daniel Hahler <git@thequod.de> | 2011-12-22 03:01:45 +0100 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-12-22 11:47:19 -0400 |
commit | ae8d76698220afe450192e3a73545b398c8b48c4 (patch) | |
tree | 5a769f1dd4e23cb92d057db405fbb84561d32007 /pre-commit.d/30store-metadata | |
parent | aeeebf383483acbf7756bdf81e8c49d28b49c713 (diff) |
Add `g` to shellquote's sed.
Props danielsh (Daniel Shahaf) in #zsh.
Diffstat (limited to 'pre-commit.d/30store-metadata')
-rwxr-xr-x | pre-commit.d/30store-metadata | 2 |
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() { |