]> diplodocus.org Git - nmh/blobdiff - test/common.sh.in
Add new signal include file location for El Capitan. I am not sure
[nmh] / test / common.sh.in
index c121d5db2ace0c00dbff507177085a05edbaf4b0..ae91619470c772a302deb2c3edb0c3b6832b316c 100644 (file)
@@ -7,6 +7,7 @@
 #### outside of make.  Requires that MH_OBJ_DIR be set on entry.
 #### Use the result of cd and pwd -P so that the result will agree
 #### with what getcwd(3) returns.
+test -d "$MH_OBJ_DIR/test/testdir"  ||  mkdir -p "$MH_OBJ_DIR/test/testdir"
 test -z "$MH_TEST_DIR" && MH_TEST_DIR=`cd "$MH_OBJ_DIR/test/testdir" && pwd -P`
 export MH_TEST_DIR
 test -z "$MH_INST_DIR"  &&  MH_INST_DIR="${MH_TEST_DIR}/inst"