summaryrefslogtreecommitdiff
path: root/contrib/subtree
diff options
context:
space:
mode:
authorLibravatar Elia Pinto <gitter.spiros@gmail.com>2014-05-23 03:15:31 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-05-23 15:32:33 -0700
commitbed137d2d55a3b5cbd642b1e80cd7bd9094db8d4 (patch)
tree1f7c896f16f22e70245e05d6e7db639e6f3a7c81 /contrib/subtree
parentGit 1.8.5.5 (diff)
downloadtgif-bed137d2d55a3b5cbd642b1e80cd7bd9094db8d4.tar.xz
scripts: "export VAR=VALUE" construct is not portable
Found by check-non-portable-shell.pl Signed-off-by: Elia Pinto <gitter.spiros@gmail.com> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/subtree')
-rwxr-xr-xcontrib/subtree/t/t7900-subtree.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/subtree/t/t7900-subtree.sh b/contrib/subtree/t/t7900-subtree.sh
index 66ce4b07c2..8dc6840353 100755
--- a/contrib/subtree/t/t7900-subtree.sh
+++ b/contrib/subtree/t/t7900-subtree.sh
@@ -8,7 +8,8 @@ This test verifies the basic operation of the merge, pull, add
and split subcommands of git subtree.
'
-export TEST_DIRECTORY=$(pwd)/../../../t
+TEST_DIRECTORY=$(pwd)/../../../t
+export TEST_DIRECTORY
. ../../../t/test-lib.sh