Skip to content

Fix emscripten build example for bash - #1319

Merged
SiegeLord merged 1 commit into
liballeg:masterfrom
connorjclark:bash-fix
Mar 10, 2022
Merged

Fix emscripten build example for bash#1319
SiegeLord merged 1 commit into
liballeg:masterfrom
connorjclark:bash-fix

Conversation

@connorjclark

Copy link
Copy Markdown
Contributor

expanding an array in zsh (echo "${USE_FLAGS}" ) is different than in bash. zsh will expand the values as you expect, bash only the first item.

When I verified this command initially I was in my zsh terminal, and only later when trying to write a bash script using the same commands did I realize (but it took a long time) the commands weren't portable.

luckily both zsh and bash do the same sensible thing for "${USE_FLAGS[*]}"

@SiegeLord

Copy link
Copy Markdown
Member

Thanks!

@SiegeLord
SiegeLord merged commit d743a35 into liballeg:master Mar 10, 2022
@connorjclark connorjclark mentioned this pull request Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants