diff --git a/piku.py b/piku.py index 2bcb7d7..e20f93d 100644 --- a/piku.py +++ b/piku.py @@ -616,7 +616,7 @@ def receive(app): with open(hook_path,'w') as h: h.write("""#!/usr/bin/env bash set -e; set -o pipefail; -cat | PIKU_ROOT="%s" %s git-hook %s""" % (PIKU_ROOT, realpath(__file__) app)) +cat | PIKU_ROOT="%s" %s git-hook %s""" % (PIKU_ROOT, realpath(__file__), app)) # Make the hook executable by our user os.chmod(hook_path, os.stat(hook_path).st_mode | stat.S_IXUSR) # Handle the actual receive. We'll be called with 'git-hook' after it happens