aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-11 02:48:45 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-11 02:48:45 +0300
commit4e5c0117cc033ef19c1183dad9b1b50d1f86137a (patch)
treed9b6369271b0fb4b5659494cd1abf8060b345c47
parentbash instead of tr for string conversion (diff)
downloadwindows-tmp-4e5c0117cc033ef19c1183dad9b1b50d1f86137a.tar.gz
windows-tmp-4e5c0117cc033ef19c1183dad9b1b50d1f86137a.zip
get rid of dead code
Diffstat (limited to '')
-rw-r--r--fix_nt_symbol_path.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/fix_nt_symbol_path.sh b/fix_nt_symbol_path.sh
index 21c0ddd..3511d63 100644
--- a/fix_nt_symbol_path.sh
+++ b/fix_nt_symbol_path.sh
@@ -40,19 +40,6 @@ str_tolower() {
done
}
-str_contains() {
- if [ "$#" -ne 2 ]; then
- echo "usage: ${FUNCNAME[0]} STR SUB" || true
- return 1
- fi
-
- local str="$1"
- local sub
- sub="$( printf '%q' "$2" )"
-
- test "$str" != "${str#*$sub}"
-}
-
readonly path_separator=';'
path_contains() {