summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-12-09 10:38:17 +0200
committerLars Wirzenius <liw@liw.fi>2020-12-09 10:38:17 +0200
commit8df442222423b769f3525e5a1c831182475fe305 (patch)
tree1f497f6adb49d1ee0dd3f73f4d406c6b6f4b7f24
parent6889928730efef47745156cfea63ba25084f9308 (diff)
downloadvmdb2-8df442222423b769f3525e5a1c831182475fe305.tar.gz
fix: use bash and quote expansion
-rwxr-xr-xcheck-all4
1 files changed, 2 insertions, 2 deletions
diff --git a/check-all b/check-all
index 0ac3bdb..9511b0a 100755
--- a/check-all
+++ b/check-all
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -eu
@@ -22,7 +22,7 @@ tryit()
echo
}
-src="$(dirname $0)"
+src="$(dirname "$0")"
dst="$(pwd)"
cd "$src"