Add scripts folder to shellcheck

Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
This commit is contained in:
Jean-Pierre Huynh
2017-07-18 13:17:17 +01:00
parent b75596e1e4
commit 24c06c1723
11 changed files with 27 additions and 33 deletions

View File

@ -3,13 +3,13 @@
set -eu
DIFF_PATH=$1
DIFF=$(git status --porcelain -- $DIFF_PATH)
DIFF=$(git status --porcelain -- "$DIFF_PATH")
if [ "$DIFF" ]; then
echo
echo "These files were changed:"
echo
echo $DIFF
echo "$DIFF"
echo
exit 1
else