summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2014-01-02 23:13:15 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2014-01-02 23:13:15 (GMT)
commitc1a327fc0b76c46084149e964ff0ab256f20d6ef (patch)
tree0546a8e9165dd3387cdd6c52daad522324bf8d54
parent0bc7b32adfc6d5081479d376d428f52aa02d00c6 (diff)
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" <yann.morin.1998@free.fr>
-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 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