]> diplodocus.org Git - nmh/blobdiff - test/install-mh/test-install-mh
Added newline to "send" that's piped to dist. Old 2.6 Linux
[nmh] / test / install-mh / test-install-mh
index f8af2c9b9f4296c794bac3ff8a3dff92c6291e8b..5a9396179f217d6ca15c040d56e50e60b2d44add 100755 (executable)
@@ -56,10 +56,10 @@ else
 fi
 
 # Remove the nmh installation so that install-mh -auto can install.
+# And set HOME to that it installs in the test directory:
+# install-mh -auto does a chdir($HOME).
 rm -rf $MH_TEST_DIR/Mail
-echo "n
-n
-$installpath" | install-mh -auto >/dev/null
+HOME=$MH_TEST_DIR install-mh -auto >/dev/null
 
 if [ -f $MH_TEST_DIR/Mail/context  -a  -f $MH_TEST_DIR/Mail/.mh_profile ]; then
   install-mh -check