unix: remove absolute path of pwd from mkall.sh

The pwd binary does not always resides under /bin for all Linux
distributions. As a $PATH is otherwise always assumed with, here too.
This commit is contained in:
Alvar Penning
2023-06-03 23:06:42 +02:00
parent b52f5441ce
commit ff9227dbe6

View File

@@ -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