scripts: fail on ':' in paths 1.17
authorDaniel Price <daniel.price@gmail.com>
Tue Nov 20 16:59:17 2012 -0800 (2012-11-20)
branch1.17
changeset 3129b8e00eab8f81
parent 3128 bd4e143ae476
child 3130 8db540910974
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)
scripts/crosstool-NG.sh.in
     1.1 --- a/scripts/crosstool-NG.sh.in	Mon Nov 19 15:20:13 2012 -0800
     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