From b9d836e9e01dfe9a7bf75d68570e1623d4d34ab2 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 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 -- cgit v0.10.2-6-g49f6