From 59fc595ba3213067a6f1269cc5bc4d16e79fb7a4 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Sun, 4 Feb 2018 22:21:05 -0600 Subject: [PATCH] [MIRROR] Fix hook installation on Linux (#5244) * Merge pull request #35161 from AutomaticFrenzy/patch/hook-install Fix hook installation on Linux * Fix hook installation on Linux --- tools/hooks/install.sh | 1 + tools/hooks/python.sh | 0 2 files changed, 1 insertion(+) mode change 100644 => 100755 tools/hooks/install.sh mode change 100644 => 100755 tools/hooks/python.sh diff --git a/tools/hooks/install.sh b/tools/hooks/install.sh old mode 100644 new mode 100755 index 3bcbfe7ff6..32183a7ce8 --- a/tools/hooks/install.sh +++ b/tools/hooks/install.sh @@ -1,4 +1,5 @@ #!/bin/bash +shopt -s nullglob cd "$(dirname "$0")" for f in *.hook; do echo Installing hook: ${f%.hook} diff --git a/tools/hooks/python.sh b/tools/hooks/python.sh old mode 100644 new mode 100755