From b15822f702b508c5aeef4e2afaba957a7558c9f8 Mon Sep 17 00:00:00 2001 From: Daniel Price Date: Tue, 20 Nov 2012 16:59:17 -0800 Subject: scripts: fail on ':' in paths Signed-off-by: Daniel Price [yann.morin.1998@free.fr: split original patch for self-contained changes] Signed-off-by: "Yann E. MORIN" Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com> Patchwork-Id: 200536 (transplanted from 15cd5dc25929d0ccd0e1f187fe721a1ca0d48919) 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 -- cgit v0.10.2-6-g49f6