summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1010437)
raw | patch | inline | side by side (parent: 1010437)
author | Eric Wong <normalperson@yhbt.net> | |
Fri, 26 May 2006 02:06:18 +0000 (19:06 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 26 May 2006 06:53:31 +0000 (23:53 -0700) |
pdksh doesn't need this patch, of course bash works fine since
that what most users use.
Normally, 'var=val command' seems to work fine with dash, but
perhaps there's something weird going on with "$@". dash is
pretty widespread, so it'll be good to support this even though
it does seem like a bug in dash.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
that what most users use.
Normally, 'var=val command' seems to work fine with dash, but
perhaps there's something weird going on with "$@". dash is
pretty widespread, so it'll be good to support this even though
it does seem like a bug in dash.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t6000lib.sh | patch | blob | history |
diff --git a/t/t6000lib.sh b/t/t6000lib.sh
index c6752af48e04993e3ed3efebf288ffa86d02633a..d40262159bce36e78dd56d931eaf1d007ef77da8 100755 (executable)
--- a/t/t6000lib.sh
+++ b/t/t6000lib.sh
{
_date=$1
shift 1
- GIT_COMMITTER_DATE=$_date "$@"
+ export GIT_COMMITTER_DATE="$_date"
+ "$@"
+ unset GIT_COMMITTER_DATE
}
# Execute a command and suppress any error output.