diff options
author | Jakob Unterwurzacher | 2020-04-13 13:09:27 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-04-13 14:54:04 +0200 |
commit | 9a7ceef09ea1fc8cbe17b324a9d1a2e71e50cb0a (patch) | |
tree | e0806ffcfe2095525d655b15cd7034ef92ee590d /build.bash | |
parent | a2ad14b9ac92384f7cc0e8a0d8f385a9cd9a299a (diff) |
shellcheck: make top-level bash scripts warning-free
And run shellcheck in test.bash.
Diffstat (limited to 'build.bash')
-rwxr-xr-x | build.bash | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -47,7 +47,7 @@ else # go-fuse version according to git # Note: git in CentOS 7 does not have "git -C" yet, so we use plain "cd". FAIL=0 - cd $GOPATH1/src/github.com/hanwen/go-fuse + cd "$GOPATH1/src/github.com/hanwen/go-fuse" OUT=$(git describe --tags --dirty 2>&1) || FAIL=1 if [[ $FAIL -eq 0 ]]; then GITVERSIONFUSE=$OUT @@ -99,5 +99,5 @@ go build "-ldflags=$GO_LDFLAGS" "-gcflags=$TRIM" "-asmflags=$TRIM" "$@" ./gocryptfs -version -mkdir -p $GOPATH1/bin -cp -af gocryptfs $GOPATH1/bin +mkdir -p "$GOPATH1/bin" +cp -af gocryptfs "$GOPATH1/bin" |