From ff9227dbe6029506a932d033feea2059c15b4fec Mon Sep 17 00:00:00 2001 From: Alvar Penning Date: Sat, 3 Jun 2023 23:06:42 +0200 Subject: [PATCH] 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. --- unix/mkall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/mkall.sh b/unix/mkall.sh index 8e3947c36..e6f31d374 100755 --- a/unix/mkall.sh +++ b/unix/mkall.sh @@ -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