Skip to content

Commit ff98eae

Browse files
oxzigopherbot
authored andcommitted
unix: remove absolute path of pwd from mkall.sh
The pwd command does not always reside under /bin for all Linux distributions. As a $PATH is otherwise always assumed, here too. Change-Id: I8a9b65fedc0bdd6b963f30e69d5c98b1550326cd GitHub-Last-Rev: ff9227d GitHub-Pull-Request: #161 Reviewed-on: https://go-review.googlesource.com/c/sys/+/500656 Run-TryBot: Ian Lance Taylor <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent b52f544 commit ff98eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unix/mkall.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if [[ "$GOOS" = "linux" ]]; then
5050
# Use the Docker-based build system
5151
# Files generated through docker (use $cmd so you can Ctl-C the build or run)
5252
$cmd docker build --tag generate:$GOOS $GOOS
53-
$cmd docker run --interactive --tty --volume $(cd -- "$(dirname -- "$0")/.." && /bin/pwd):/build generate:$GOOS
53+
$cmd docker run --interactive --tty --volume $(cd -- "$(dirname -- "$0")/.." && pwd):/build generate:$GOOS
5454
exit
5555
fi
5656

0 commit comments

Comments
 (0)