summaryrefslogtreecommitdiff
path: root/app-backup/bacula/files/bacula-drop-which.patch
blob: 0c34ddabbf6180f3649fa2c928142bd6ab3411d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/scripts/getgitcommit b/scripts/getgitcommit
index 6897091..d82a7e5 100755
--- a/scripts/getgitcommit
+++ b/scripts/getgitcommit
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-GIT=$(which git)
+GIT=$(command -v git)
 if [ "x$GIT" != "x" ]
 then
    COMMIT=$(git log --pretty=format:%h -n 1 2>/dev/null)