From c1a327fc0b76c46084149e964ff0ab256f20d6ef Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 3 Jan 2014 00:13:15 +0100 Subject: scripts: do not allow commas in directories, it breaks things The comma is used by the autotools as separator in many sed expressions, which break if a directory contains commas. Signed-off-by: "Yann E. MORIN" diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 7126ee7..3699500 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -77,6 +77,9 @@ for d in \ *:*) CT_Abort "'CT_${d}_DIR'='${dir}' contains a colon in it.\nDon't use colons in paths, it breaks things." ;; + *,*) + CT_Abort "'CT_${d}_DIR'='${dir}' contains a comma in it.\nDon't use commas in paths, it breaks things." + ;; esac done -- cgit v0.10.2-6-g49f6