summaryrefslogtreecommitdiff
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)
commitb15822f702b508c5aeef4e2afaba957a7558c9f8 (patch)
treeea43928194f9a488c83ed9291c99d9cef0e307dc
parent6ea41bead227cd5a9727fb2dd5d5f99233f8578e (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 (transplanted from 15cd5dc25929d0ccd0e1f187fe721a1ca0d48919)
-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 a7a8015..31062f1 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