tests: simplify porting to Solaris 10 /bin/sh
[gnulib.git] / tests / init.sh
index b5c2e3f..e07c39c 100644 (file)
@@ -201,6 +201,7 @@ else
       *x*) opts_=-x ;;
       *) opts_= ;;
     esac
+    export re_shell_
     exec "$re_shell_" $opts_ "$0" --no-reexec "$@"
     echo "$ME_: exec failed" 1>&2
     exit 127