summaryrefslogtreecommitdiff
path: root/tests/init.sh
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-01-07 21:43:07 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2014-01-07 21:43:31 -0800
commitefc854066a28129c347be9f8226b43919c8f5a74 (patch)
treee8d1846b0f15e66a13223c78d61c1c15b882727b /tests/init.sh
parent490acbe0bb253b84fc00f4ba07fb62e249eebcfb (diff)
downloadgnulib-efc854066a28129c347be9f8226b43919c8f5a74.tar.gz
tests: fix export bug in previous patch
Problem reported by Jim Meyering. * tests/init.sh (re_shell): New var, which is exported instead of re_shell_.
Diffstat (limited to 'tests/init.sh')
-rw-r--r--tests/init.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/init.sh b/tests/init.sh
index e07c39c881..fbd293d642 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -201,7 +201,8 @@ else
*x*) opts_=-x ;;
*) opts_= ;;
esac
- export re_shell_
+ re_shell=$re_shell_
+ export re_shell
exec "$re_shell_" $opts_ "$0" --no-reexec "$@"
echo "$ME_: exec failed" 1>&2
exit 127