# HG changeset patch # User "Yann E. MORIN" # Date 1388704395 -3600 # Node ID 8e2077dfc250877b2182f31cac97bd1292e01026 # Parent 84fcb0cae9a47443c88b43258bb5cb838153b9fc 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 -r 84fcb0cae9a4 -r 8e2077dfc250 scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Thu Jan 02 10:35:44 2014 +0100 +++ b/scripts/crosstool-NG.sh.in Fri Jan 03 00:13:15 2014 +0100 @@ -77,6 +77,9 @@ *:*) 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