summaryrefslogtreecommitdiff
path: root/scripts/crosstool-NG.sh.in
diff options
context:
space:
mode:
authorDaniel Price <daniel.price@gmail.com>2012-11-21 00:59:17 (GMT)
committerDaniel Price <daniel.price@gmail.com>2012-11-21 00:59:17 (GMT)
commitb9d836e9e01dfe9a7bf75d68570e1623d4d34ab2 (patch)
treed9fb770be3ed818cfd1589b9a5faabb300b694ba /scripts/crosstool-NG.sh.in
parentb5a8739e59a3623e7dde3dfd58104307f25a1c33 (diff)
scripts: fail on ':' in paths
Signed-off-by: Daniel Price <daniel.price@gmail.com> [yann.morin.1998@free.fr: split original patch for self-contained changes] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com> Patchwork-Id: 200536
Diffstat (limited to 'scripts/crosstool-NG.sh.in')
-rw-r--r--scripts/crosstool-NG.sh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in
index 4b2e14f..ae725eb 100644
--- a/scripts/crosstool-NG.sh.in
+++ b/scripts/crosstool-NG.sh.in
@@ -66,6 +66,9 @@ for d in \
*" "*)
CT_Abort "'CT_${d}_DIR'='${dir}' contains a space in it.\nDon't use spaces in paths, it breaks things."
;;
+ *:*)
+ CT_Abort "'CT_${d}_DIR'='${dir}' contains a colon in it.\nDon't use colons in paths, it breaks things."
+ ;;
esac
done