Explorar o código

Fix source dir detection in bootstrap.sh (#162)

dreifachstein %!s(int64=8) %!d(string=hai) anos
pai
achega
658afde08d
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      bootstrap.sh

+ 1 - 2
bootstrap.sh

@@ -188,8 +188,7 @@ EOF
 fi
 test -n "$want_help" && exit 0
 
-# TBD: Determine where the script is located
-my_dir="."
+my_dir=$(dirname "$0")
 
 # Determine the toolset, if not already decided
 if test "x$TOOLSET" = x; then

粤ICP备19079148号