threads / patch / 33618

patch, 5 partst9020: do not use export X=Y

Subject: [PATCH 1/5] t9020: do not use export X=Y

## tl;dr

One message between Apr 26, 2013 and Apr 26, 2013. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Torsten Bögershausen· Apr 26, 2013, 09:18 UTC · lore

The shell syntax "export X=Y" is not understood by all shells. Split the non portable line into separate lines like this: X=Y export X

Signed-off-by: Torsten Bögershausen <tboegi@web.de>
---
 t/t9020-remote-svn.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Show changes to t/t9020-remote-svn.sh +2 −1
diff --git a/t/t9020-remote-svn.sh b/t/t9020-remote-svn.sh
index 2d2f016..d9f6b73 100755
--- a/t/t9020-remote-svn.sh
+++ b/t/t9020-remote-svn.sh
@@ -74,7 +74,8 @@ test_expect_success REMOTE_SVN 'mark-file regeneration' '
 '
 
 test_expect_success REMOTE_SVN 'incremental imports must lead to the same head' '
-	export SVNRMAX=3 &&
+	SVNRMAX=3 &&
+	export SVNRMAX &&
 	init_git &&
 	git fetch svnsim &&
 	test_cmp .git/refs/svn/svnsim/master .git/refs/remotes/svnsim/master  &&
-- 
1.8.2.1.614.g66d7af5

← back to recent threads