summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-06-28 22:34:52 -0700
committerMichael Forney <mforney@mforney.org>2016-06-28 22:34:52 -0700
commit0187d9813e76ee9171396e001ca3ed10c02e936e (patch)
tree2703e083e0f9186c1b86fa769d4c1a601082caed /template
parentac24b824fe33387b13c232c00a6796d68462024f (diff)
Fix syntax error in post-checkout
Diffstat (limited to 'template')
-rwxr-xr-xtemplate/hooks/post-checkout2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/hooks/post-checkout b/template/hooks/post-checkout
index 0b04ea29..a4871453 100755
--- a/template/hooks/post-checkout
+++ b/template/hooks/post-checkout
@@ -6,7 +6,7 @@ flag=$3
# If HEAD didn't change or if this is just a file checkout, do a complete
# permissions fix.
-elif [ "$old" = 0000000000000000000000000000000000000000 ] || [ "$old" = "$new" ] || [ "$flag" = 0 ] ; then
+if [ "$old" = 0000000000000000000000000000000000000000 ] || [ "$old" = "$new" ] || [ "$flag" = 0 ] ; then
set "$new"
else
set "$old" "$new"