Skip to content

Commit

Permalink
unix: remove absolute path of pwd from mkall.sh
Browse files Browse the repository at this point in the history
The pwd binary does not always resides under /bin for all Linux
distributions. As a $PATH is otherwise always assumed with, here too.
  • Loading branch information
oxzi committed Jun 3, 2023
1 parent b52f544 commit ff9227d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix/mkall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if [[ "$GOOS" = "linux" ]]; then
# Use the Docker-based build system
# Files generated through docker (use $cmd so you can Ctl-C the build or run)
$cmd docker build --tag generate:$GOOS $GOOS
$cmd docker run --interactive --tty --volume $(cd -- "$(dirname -- "$0")/.." && /bin/pwd):/build generate:$GOOS
$cmd docker run --interactive --tty --volume $(cd -- "$(dirname -- "$0")/.." && pwd):/build generate:$GOOS
exit
fi

Expand Down

0 comments on commit ff9227d

Please sign in to comment.