Closed stealthybox closed 5 years ago
Both of these scripts either create or operate on ./footloose.yaml which is intended to be created in the same directory as setup.js and config.yaml.
./footloose.yaml
setup.js
config.yaml
Use bash features to ensure file operations occur from the same directory regardless of how the script is executed.
The only bug I think needs to be solved for this is to detect if --git-deploy-key is a relative path. If so, it should be prepended with "${SCRIPT_DIR}".
--git-deploy-key
"${SCRIPT_DIR}"
It doesn't affect absolute paths.
Fixed -- thanks!
Both of these scripts either create or operate on
./footloose.yaml
which is intended to be created in the same directory assetup.js
andconfig.yaml
.Use bash features to ensure file operations occur from the same directory regardless of how the script is executed.