- read -p "press enter to cleanup and remove tmp (or type bash for a subshell to examine): " XX
- if [ "$XX" = bash ] ; then
- bash
+ if [ -z "$MONKEYSPHERE_TEST_NO_EXAMINE" ] ; then
+ read -p "press enter to cleanup and remove tmp (or type 'bash' for a subshell to examine): " XX
+ if [ "$XX" = bash ] ; then
+ echo "Entering subshell..."
+ cd "$TEMPDIR"
+ bash
+ fi