diff options
author | Daniel Price <daniel.price@gmail.com> | 2012-11-20 16:59:17 -0800 |
---|---|---|
committer | Daniel Price <daniel.price@gmail.com> | 2012-11-20 16:59:17 -0800 |
commit | b15822f702b508c5aeef4e2afaba957a7558c9f8 (patch) | |
tree | ea43928194f9a488c83ed9291c99d9cef0e307dc | |
parent | 6ea41bead227cd5a9727fb2dd5d5f99233f8578e (diff) | |
download | crosstool-ng-b15822f702b508c5aeef4e2afaba957a7558c9f8.tar.gz crosstool-ng-b15822f702b508c5aeef4e2afaba957a7558c9f8.tar.bz2 crosstool-ng-b15822f702b508c5aeef4e2afaba957a7558c9f8.zip |
scripts: fail on ':' in paths
Signed-off-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: split original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com>
Patchwork-Id: 200536
(transplanted from 15cd5dc25929d0ccd0e1f187fe721a1ca0d48919)
-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 a7a80156..31062f1e 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 |