From 98c987fbf874e5a4feae0c69816354b85dd1ca23 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Fri, 11 Apr 2008 20:23:53 +0000 Subject: * bin/ptxdist: added export LANG=C minor cleanups git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7948 33e552b5-05e3-0310-8538-816dae2090ed --- bin/ptxdist | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'bin') diff --git a/bin/ptxdist b/bin/ptxdist index bbac1784f..55bfd9e28 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1,5 +1,7 @@ #!/bin/bash +export LANG=C + # # TODO # @@ -7,7 +9,6 @@ # which starts a corresponding script in scripts/ # # - PROMPT="ptxdist: " PTXDIST_WORKSPACE=`pwd` DEBUG= @@ -432,13 +433,13 @@ check_dirs() { done # check for case sensitive file system - for i in \ + for dir in \ "${BUILDDIR}" \ "${CROSS_BUILDDIR}" \ "${HOST_BUILDDIR}" \ ; do - testfile_lower=${i}/.secret-world-domination-project - testfile_upper=${i}/.Secret-World-Domination-Project + testfile_lower=${dir}/.secret-world-domination-project + testfile_upper=${dir}/.Secret-World-Domination-Project echo lower > "${testfile_lower}" echo upper > "${testfile_upper}" @@ -446,7 +447,7 @@ check_dirs() { if test "`cat \"${testfile_lower}\"`" != "lower" -o \ "`cat \"${testfile_upper}\"`" != "upper"; then echo - echo "error: \"${i}\"" + echo "error: \"${dir}\"" echo " is not a case sensitive filesystem." echo " Please move your project to a case sensitive one" echo @@ -904,7 +905,7 @@ toolchain() -z "${target}" -o \ -z "${version}" ]; then echo - echo "${PROMPT}error: insufficient information in you ptxconfig file" + echo "${PROMPT}error: insufficient information in your ptxconfig file" echo "${PROMPT} please use 'ptxdist toolchain " echo exit 1 @@ -921,7 +922,7 @@ toolchain() if [ ${#toolchain[@]} -ne 1 ]; then echo "${PROMPT}" echo "${PROMPT}" - echo "${PROMPT}error: more than one toolchain found matching" + echo "${PROMPT}error: more than one toolchain found" echo "${PROMPT} ${hint}" echo "${PROMPT} ${toolchain}" echo -- cgit v1.2.3