Skip to content

Commit 8c29135

Browse files
Pete Wyckoffgitster
authored andcommitted
git p4 test: remove bash-ism of combined export/assignment
Signed-off-by: Pete Wyckoff <[email protected]> Acked-by: Luke Diamand <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2a9a19e commit 8c29135

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

t/lib-git-p4.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ testid=${this_test#t}
2626
git_p4_test_start=9800
2727
P4DPORT=$((10669 + ($testid - $git_p4_test_start)))
2828

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
3233

3334
db="$TRASH_DIRECTORY/db"
3435
cli=$(test-path-utils real_path "$TRASH_DIRECTORY/cli")

0 commit comments

Comments
 (0)