From cac4e3fa688c39e19954acc926c49b3c0d8d1432 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Tue, 9 May 2017 19:10:54 +0300
Subject: [PATCH] - Run shell lint (sh -en) in an empty environment (no
 environment variables set). - Bump minor version.

---
 VERSION    | 2 +-
 hooks.yaml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/VERSION b/VERSION
index 1d0ba9e..79a2734 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.4.0
+0.5.0
\ No newline at end of file
diff --git a/hooks.yaml b/hooks.yaml
index f4ac44a..d97f46b 100644
--- a/hooks.yaml
+++ b/hooks.yaml
@@ -3,8 +3,8 @@
   name: Lint shell scripts
   description: Run /bin/sh -en against shell scripts.
   language: system
-  entry: /bin/sh
-  args: ['-en']
+  entry: /usr/bin/env
+  args: ['-i', '/bin/sh', '-en']
   files: &shell_scripts \.(sh|bash|ksh|zsh)$
 - id: shellcheck
   name: shellcheck
-- 
GitLab