]> diplodocus.org Git - nmh/blobdiff - test/format/test-mymbox
Enclosed program name and directory in double quotes so that they can contain whitespace.
[nmh] / test / format / test-mymbox
index 5a8ef419bdb7c792fc610867bc4e64703fb5b907..e1d1ead8b716cc085abc5c6e212132f59ca69e98 100755 (executable)
@@ -5,8 +5,8 @@
 #
 
 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"