X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fa9e8a6283ecb332b5947e13237346a1f40aed37..a872db591b217f09a78b7027eb246ce0eb20ff4c:/test/install-mh/test-version-check?ds=sidebyside diff --git a/test/install-mh/test-version-check b/test/install-mh/test-version-check index 1314f643..e9a2ce74 100755 --- a/test/install-mh/test-version-check +++ b/test/install-mh/test-version-check @@ -34,8 +34,8 @@ echo OK EOF chmod +x "${cmd}" - SHELL="${cmd}" script "${actual}" >/dev/null & - wait $! + (SHELL="${cmd}"; export SHELL; script "${actual}" >/dev/null & + wait $!) if grep OK "${actual}" >/dev/null; then #### script(1) supports SHELL environment variable. use_dash_S=0