Index: git_cl/test/hooks.sh |
diff --git a/git_cl/test/hooks.sh b/git_cl/test/hooks.sh |
index 26536d02b02ac3522d30b28b4c203b46a2721f4b..93d6bb432bfcf43513939f4315b397645d73a5c6 100755 |
--- a/git_cl/test/hooks.sh |
+++ b/git_cl/test/hooks.sh |
@@ -11,8 +11,8 @@ setup_initsvn |
setup_gitsvn |
setup_hooks() { |
- upload_retval = shift |
- dcommit_retval = shift |
+ upload_retval=$1 |
+ dcommit_retval=$2 |
echo > PRESUBMIT.py <<END |
def CheckChangeOnUpload(input_api, output_api): |