diff options
| author | Michael Forney <mforney@mforney.org> | 2016-06-28 22:34:52 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-06-28 22:34:52 -0700 |
| commit | 0187d9813e76ee9171396e001ca3ed10c02e936e (patch) | |
| tree | 2703e083e0f9186c1b86fa769d4c1a601082caed /template | |
| parent | ac24b824fe33387b13c232c00a6796d68462024f (diff) | |
Fix syntax error in post-checkout
Diffstat (limited to 'template')
| -rwxr-xr-x | template/hooks/post-checkout | 2 |
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" |
