Skip to content

Commit 05c1cbf

Browse files
committed
[JIRA DEVA11Y-128] Corrected shell script bugs
1 parent 2e7eb9a commit 05c1cbf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/zsh/spm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# Shell specific
44
zsh_bin=$(command -v zsh)
5-
BROWSERSTACK_USERNAME=$($zsh_bin -c 'echo $BROWSERSTACK_USERNAME')
6-
BROWSERSTACK_ACCESS_KEY=$($zsh_bin -c 'echo $BROWSERSTACK_ACCESS_KEY')
5+
export BROWSERSTACK_USERNAME=$($zsh_bin -lic 'echo $BROWSERSTACK_USERNAME')
6+
export BROWSERSTACK_ACCESS_KEY=$($zsh_bin -lic 'echo $BROWSERSTACK_ACCESS_KEY')
77

88
# Don't change anything after this, same as the bash equivalent
99
[ -f "${PWD}/Package.swift" ]

0 commit comments

Comments
 (0)