git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Torsten Bögershausen <tboegi@web.de>
Date
Apr 26, 2013, 09:18 UTC
Message-ID
<201304261118.17130.tboegi@web.de>

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(-)
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
Message 1 of 1 in “t9020: do not use export X=Y”
  1. 1/5 t9020: do not use export X=YTorsten Bögershausen, Apr 26, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.