diff options
Diffstat (limited to 'files')
-rwxr-xr-x | files/clever-wait-deploy.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/files/clever-wait-deploy.sh b/files/clever-wait-deploy.sh index e0bbcf1..b911069 100755 --- a/files/clever-wait-deploy.sh +++ b/files/clever-wait-deploy.sh | |||
@@ -48,9 +48,7 @@ function check { | |||
48 | } | 48 | } |
49 | 49 | ||
50 | function getHeadRev { | 50 | function getHeadRev { |
51 | local chdir="$1/.git" | 51 | git rev-parse HEAD |
52 | |||
53 | git --git-dir="$chdir" rev-parse HEAD | ||
54 | } | 52 | } |
55 | 53 | ||
56 | check "$(getHeadRev "$@")" | 54 | check "$(getHeadRev)" |