Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] Fix false positives in t3404 due to SHELL=/bin/false

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:18

Possibly related (same subject, not in this thread)

"Robin H. Johnson" [off-list ref] writes:
 # "exec" commands are ran with the user shell by default, but this may
 # be non-POSIX. For example, if SHELL=zsh then ">file" doesn't work
 # to create a file. Unseting SHELL avoids such non-portable behavior
-# in tests.
-SHELL=
+# in tests. It must be exported for it to take effect where needed.
+export SHELL=
Thanks.

This probably is still not portable.

	SHELL=
        export SHELL

would be Ok, though.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help