]> diplodocus.org Git - nmh/blobdiff - test/inc/test-eom-align
Enclosed program name and directory in double quotes so that they can contain whitespace.
[nmh] / test / inc / test-eom-align
index c330067135f3486830ea97ab7808996f9fd43666..2afa100505098e65aa68dc64c204e8d007799d40 100755 (executable)
@@ -5,8 +5,8 @@
 set -e
 
 if test -z "${MH_OBJ_DIR}"; then
-    srcdir=`dirname $0`/../..
-    MH_OBJ_DIR=`cd $srcdir && pwd`; export MH_OBJ_DIR
+    srcdir=`dirname "$0"`/../..
+    MH_OBJ_DIR=`cd "$srcdir" && pwd`; export MH_OBJ_DIR
 fi
 
 . "$MH_OBJ_DIR/test/common.sh"