aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2010-04-10 05:43:26 -0400
committerChris Smith <toonarmy@phpbb.com>2010-04-13 21:44:18 +0100
commit9674214b2ffd3fc98e707ffa8f9b8b9eaef054da (patch)
tree91bcdebebd8bc80b9cf8e16d4ac73813251b3b4f /git-tools/hooks
parent[git-tools] Adjusted pre-commit hook to run under freebsd /bin/sh. (diff)
downloadphpbb-9674214b2ffd3fc98e707ffa8f9b8b9eaef054da.tar.gz
phpbb-9674214b2ffd3fc98e707ffa8f9b8b9eaef054da.tar.bz2
phpbb-9674214b2ffd3fc98e707ffa8f9b8b9eaef054da.zip
[git-tools] Use @ instead of : in sed command in pre-commit hook for wider compatibility.
Diffstat (limited to 'git-tools/hooks')
-rwxr-xr-xgit-tools/hooks/pre-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-tools/hooks/pre-commit b/git-tools/hooks/pre-commit
index 835b28aec3..9719b91746 100755
--- a/git-tools/hooks/pre-commit
+++ b/git-tools/hooks/pre-commit
@@ -62,7 +62,7 @@ do
then
error=1
# Swap back in correct filenames
- errors=$(echo "$errors"; echo "$result" |sed -e "s:in - on:in $filename on:g")
+ errors=$(echo "$errors"; echo "$result" |sed -e "s@in - on@in $filename on@g")
fi
done
unset IFS