diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2014-01-02 23:13:15 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2014-01-02 23:13:15 (GMT) |
commit | c1a327fc0b76c46084149e964ff0ab256f20d6ef (patch) | |
tree | 0546a8e9165dd3387cdd6c52daad522324bf8d54 /scripts/crosstool-NG.sh.in | |
parent | 0bc7b32adfc6d5081479d376d428f52aa02d00c6 (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>
Diffstat (limited to 'scripts/crosstool-NG.sh.in')
-rw-r--r-- | scripts/crosstool-NG.sh.in | 3 |
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 |