diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-04-11 20:23:53 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-04-11 20:23:53 +0000 |
commit | 98c987fbf874e5a4feae0c69816354b85dd1ca23 (patch) | |
tree | 6f9521cfc5b5680cbd57d0035827e3c99b76d819 /bin | |
parent | 8fc7bbc9ea1935dc0a6b76c602f921a9bc99d033 (diff) | |
download | ptxdist-98c987fbf874e5a4feae0c69816354b85dd1ca23.tar.gz ptxdist-98c987fbf874e5a4feae0c69816354b85dd1ca23.tar.xz |
* 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
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ptxdist | 15 |
1 files changed, 8 insertions, 7 deletions
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 <path>" 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 |