Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running just run on a product without PERSIST_LICENSE=true produces an error on macOS bash #563

Open
ianpittwood opened this issue Jun 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ianpittwood
Copy link
Collaborator

Reported by @vivas89

macOS bash doesn't seem to support the [@] expansion operator for empty arrays. When running just run on a product on macOS without PERSIST_LICENSE=true enabled produces the following error:

rstudio-docker-products $ just RSW_LICENSE="XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX" workbench/run 
echo "rstudio-workbench:ubuntu2204-$(just -f ../Justfile _get-tag-safe-version 2023.06.0+421.pro1)"
+ '[' -z XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX ']'
+ volume_opts=()
+ '[' false = true ']'
/var/folders/1n/phcn485d42g99_dfd47dqq700000gn/T/justvkeaNM/run: line 97: volume_opts[@]: unbound variable
error: Recipe `run` failed with exit code 1
@ianpittwood ianpittwood added bug Something isn't working needs refinement Marked for review at a future meeting labels Jun 21, 2023
@kfeinauer kfeinauer removed the needs refinement Marked for review at a future meeting label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants