path: root/scripts/
diff options
authorYann E. MORIN" <>2009-11-12 17:42:13 (GMT)
committerYann E. MORIN" <>2009-11-12 17:42:13 (GMT)
commitc863d223faa360a299181b071c03d7a447644175 (patch)
treec1a71b0f975b1d649c69b7a5c2fba17151d83955 /scripts/
parent33374cac3944ce21b21fba4bb14ebf15e24c0b94 (diff)
scripts: be POSIXly correct in helper scripts
Fix helper scripts to be POSIXly correct: don't expect '.' (the dot builtin) to search CWD if it is not in $PATH.
Diffstat (limited to 'scripts/')
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/ b/scripts/
index 08ec1be..3604df5 100755
--- a/scripts/
+++ b/scripts/
@@ -5,7 +5,12 @@ set -e
# Parse the tools' paths configuration
-. ""
+# It is expected that this script is only to be run from the
+# source directory of crosstool-NG, so it is trivial to find
+# (we can't use ".", as POSIX states that
+# $PATH should be searched for, and $PATH most probably doe
+# not include "."), hence the "./".
+. "./"
doUsage() {
cat <<_EOF_