scripts: fail on ':' in paths
authorDaniel Price <daniel.price@gmail.com>
Tue Nov 20 16:59:17 2012 -0800 (2012-11-20)
changeset 312515cd5dc25929
parent 3124 e097000b5420
child 3126 333d3e40cbd1
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
scripts/crosstool-NG.sh.in
     1.1 --- a/scripts/crosstool-NG.sh.in	Mon Nov 19 22:13:11 2012 +0100
     1.2 +++ b/scripts/crosstool-NG.sh.in	Tue Nov 20 16:59:17 2012 -0800
     1.3 @@ -66,6 +66,9 @@
     1.4              *" "*)
     1.5                  CT_Abort "'CT_${d}_DIR'='${dir}' contains a space in it.\nDon't use spaces in paths, it breaks things."
     1.6                  ;;
     1.7 +            *:*)
     1.8 +                CT_Abort "'CT_${d}_DIR'='${dir}' contains a colon in it.\nDon't use colons in paths, it breaks things."
     1.9 +                ;;
    1.10          esac
    1.11  done
    1.12