aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fix_nt_symbol_path.sh
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-11 02:47:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-11 02:47:37 +0300
commit2b3632a44f322ee9e0e2f7fff1c1045c09bbffa3 (patch)
tree38d7fbe92477fa81eb05849d38035cfa2653a1dc /fix_nt_symbol_path.sh
parentbugfix & refactoring (diff)
downloadwindows-tmp-2b3632a44f322ee9e0e2f7fff1c1045c09bbffa3.tar.gz
windows-tmp-2b3632a44f322ee9e0e2f7fff1c1045c09bbffa3.zip
bash instead of tr for string conversion
Diffstat (limited to 'fix_nt_symbol_path.sh')
-rw-r--r--fix_nt_symbol_path.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/fix_nt_symbol_path.sh b/fix_nt_symbol_path.sh
index 907d93b..21c0ddd 100644
--- a/fix_nt_symbol_path.sh
+++ b/fix_nt_symbol_path.sh
@@ -34,9 +34,9 @@ dump() {
}
str_tolower() {
- while [ "$#" -ne 0 ]; do
- echo "$1" | tr '[:upper:]' '[:lower:]'
- shift
+ local s
+ for s; do
+ echo "${s,,}" # | tr '[:upper:]' '[:lower:]'
done
}