Pārlūkot izejas kodu

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

dreifachstein 8 gadi atpakaļ
vecāks
revīzija
658afde08d
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      bootstrap.sh

+ 1 - 2
bootstrap.sh

@@ -188,8 +188,7 @@ EOF
 fi
 fi
 test -n "$want_help" && exit 0
 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
 # Determine the toolset, if not already decided
 if test "x$TOOLSET" = x; then
 if test "x$TOOLSET" = x; then

粤ICP备19079148号