I want to use vfox on setup scripts and on CI environments. But I've noticed I can't run it inside a shell script file (for example, a file named script.sh):
#/bin/bash
set -e
vfox use java@17
java --version
It will issue an error if I run it: java: command not found
If I run the script again, after the first error, it will run successfully this time.
2. What is your expected outcome?
I should be able to run vfox use and use the sdk version after that inside a shell script.
1. Your usage scenarios?
I want to use vfox on setup scripts and on CI environments. But I've noticed I can't run it inside a shell script file (for example, a file named script.sh):
It will issue an error if I run it: java: command not found
If I run the script again, after the first error, it will run successfully this time.
2. What is your expected outcome?
I should be able to run
vfox use
and use the sdk version after that inside a shell script.