Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ each dependency bindown manages.

set -e

CDPATH="" cd -- "$(dirname -- "$(dirname -- "$0")")"
CDPATH="" cd -- "$(dirname -- "$0")/.."
mkdir -p bin
[ -f bin/bindown ] || sh script/bootstrap-bindown.sh 2>/dev/null
exec bin/bindown "$@"
Expand All @@ -164,7 +164,7 @@ each dependency bindown manages.

set -e

CDPATH="" cd -- "$(dirname -- "$(dirname -- "$0")")"
CDPATH="" cd -- "$(dirname -- "$0")/.."
script/bindown install jq > /dev/null
exec bin/jq "$@"
```
Expand Down
2 changes: 1 addition & 1 deletion script/bindown
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

REPO_DIR="$(CDPATH="" cd -- "$(dirname -- "$(dirname -- "$0")")" && pwd)"
REPO_DIR="$(CDPATH="" cd -- "$(dirname -- "$0")/.." && pwd)"

(
cd "$REPO_DIR"
Expand Down
2 changes: 1 addition & 1 deletion script/generate-jsonschema
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

CDPATH="" cd -- "$(dirname -- "$(dirname -- "$0")")"
CDPATH="" cd -- "$(dirname -- "$0")/.."

script/bindown -q install yq

Expand Down
2 changes: 1 addition & 1 deletion script/generate-readme
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

CDPATH="" cd -- "$(dirname -- "$(dirname -- "$0")")"
CDPATH="" cd -- "$(dirname -- "$0")/.."

usage_pattern="<!--- start usage output --->*<!--- end usage output --->"

Expand Down
2 changes: 1 addition & 1 deletion script/test
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

set -e

CDPATH="" cd -- "$(dirname -- "$(dirname -- "$0")")"
CDPATH="" cd -- "$(dirname -- "$0")/.."

go test -race -covermode=atomic ./...