-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
It seems that you ./build.sh contains pushd ad popd commands which are bash builtins while script is declared as sh (with its first shebang line #!/bin/sh here: https://github.com/bitclave/base-development/blob/master/build.sh#L1).
Attempt to run it causes errors:
$ ./build.sh
./build.sh: 3: ./build.sh: pushd: not found
./build.sh: 4: ./build.sh: ./gradlew: not found
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/andy/works/bitclave-intro/base-development/Dockerfile: no such file or directory
./build.sh: 6: ./build.sh: popd: not found
./build.sh: 8: ./build.sh: pushd: not found
./build.sh: 9: ./build.sh: ./gradlew: not found
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/andy/works/bitclave-intro/base-development/Dockerfile: no such file or directory
./build.sh: 11: ./build.sh: popd: not found
I was able to run it using command bash ./build.sh but I think that it would be cool to change first line to #!/bin/bash - after that the script can be started without problems. I'm not sure that those errors are critical but anyway output looks better without them.
Metadata
Metadata
Assignees
Labels
No labels