t3302 (notes): Port to Solaris

The time_notes script, which uses POSIX shell features, is
currently sometimes run with a non-POSIX /bin/sh.

Reported-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jonathan Nieder 2010-08-24 02:14:53 -05:00 committed by Junio C Hamano
parent 22e5e58a3c
commit 6325ca3129

View File

@ -98,7 +98,7 @@ time_notes () {
for mode in no-notes notes
do
echo $mode
/usr/bin/time sh ../time_notes $mode $1
/usr/bin/time "$SHELL_PATH" ../time_notes $mode $1
done
}