Fix 5501 test
authorJunio C Hamano <junkio@twinsun.com>
Tue, 6 Dec 2005 02:13:31 +0000 (18:13 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 6 Dec 2005 03:12:26 +0000 (19:12 -0800)
commit8d69195124c826756c025fc84d993d92ff119075
tree844d05abc4a4ebcf288bb21f2d664c34d222418e
parent4050c0df8ec7043315e2192695de432875239775
Fix 5501 test

Not everybody can rely on /bin/sh to be sane, and we support
SHELL_PATH for that.  Use it.

mktemp(1) is not used anywhere else in the core git.  Do not
introduce dependency on it.

Not everybody's "which" gives a sane return value.  For example,
on Solaris 'which XXX' says "no XXX in /usr/bin /bin ..." and
exits with zero status.  The lesson here is to never use 'which'
in your scripts.

Signed-off-by: Junio C Hamano <junkio@twinsun.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t5501-old-fetch-and-upload.sh