git p4 test: remove bash-ism of combined export/assignment
Signed-off-by: Pete Wyckoff <pw@padd.com> Acked-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Pete Wyckoff committed
Sep 9, 2012 at 16:16 UTC
8c2913508644bb3ef511c7edac1b15cfafe61df5
1 file changed
+4
-3
t/lib-git-p4.sh
+4
-3
@@ -26,9 +26,10 @@ testid=${this_test#t}
26
git_p4_test_start=9800
27
P4DPORT=$((10669 + ($testid - $git_p4_test_start)))
28
29
-export P4PORT=localhost:$P4DPORT
30
-export P4CLIENT=client
31
-export P4EDITOR=:
29
+P4PORT=localhost:$P4DPORT
30
+P4CLIENT=client
31
+P4EDITOR=:
32
+export P4PORT P4CLIENT P4EDITOR
33
34
db="$TRASH_DIRECTORY/db"
35
cli=$(test-path-utils real_path "$TRASH_DIRECTORY/cli")