kopia lustrzana https://github.com/piku/piku
typo
rodzic
8393139e0e
commit
9a78b6b179
2
piku.py
2
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
|
||||
|
|
Ładowanie…
Reference in New Issue