summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d61027b)
raw | patch | inline | side by side (parent: d61027b)
author | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 Feb 2009 19:17:27 +0000 (11:17 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 Feb 2009 19:17:27 +0000 (11:17 -0800) |
Some shells do not like "export var=val"; the right way to write
it is to do an assignment and then export just the variable name.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
it is to do an assignment and then export just the variable name.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9301-fast-export.sh | patch | blob | history | |
t/test-lib.sh | patch | blob | history |
diff --git a/t/t9301-fast-export.sh b/t/t9301-fast-export.sh
index 99857210555288cf5ca8f4fa4d1e94bfe557fbd2..86c376088ccd04d0b0cbb14424eef7a9b89b45d3 100755 (executable)
--- a/t/t9301-fast-export.sh
+++ b/t/t9301-fast-export.sh
'
-export GIT_AUTHOR_NAME='A U Thor'
-export GIT_COMMITTER_NAME='C O Mitter'
+GIT_AUTHOR_NAME='A U Thor'; export GIT_AUTHOR_NAME
+GIT_COMMITTER_NAME='C O Mitter'; export GIT_COMMITTER_NAME
test_expect_success 'setup copies' '
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 22ed448d560bfd517014315b2b7a32f8daba79b2..fc0e1932e6397403c4efec753e8f4e23fb3cd26a 100644 (file)
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
-i|--i|--im|--imm|--imme|--immed|--immedi|--immedia|--immediat|--immediate)
immediate=t; shift ;;
-l|--l|--lo|--lon|--long|--long-|--long-t|--long-te|--long-tes|--long-test|--long-tests)
- export GIT_TEST_LONG=t; shift ;;
+ GIT_TEST_LONG=t; export GIT_TEST_LONG; shift ;;
-h|--h|--he|--hel|--help)
help=t; shift ;;
-v|--v|--ve|--ver|--verb|--verbo|--verbos|--verbose)