From 4f95aaa7b0876ff083c68d0c215de95c4b025274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-R=C3=A9my=20Buchs?= Date: Wed, 25 Oct 2017 22:45:11 +0200 Subject: [PATCH] Fix shellcheck errors and warning on check-my-stuff --- check-my-stuff | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/check-my-stuff b/check-my-stuff index 64680c209..781037139 100755 --- a/check-my-stuff +++ b/check-my-stuff @@ -6,8 +6,8 @@ if [ $# -eq 0 ] exit fi -BASE=$(realpath $0) -BASE=$(dirname $BASE) -cd $BASE +BASE="$(realpath "$0")" +BASE="$(dirname "$BASE")" +cd "$BASE" || exit 1 -utils/schema-check/dn42-schema.py scan data/ -m $1 +utils/schema-check/dn42-schema.py scan data/ -m "$1"