diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-11 02:48:45 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-11 02:48:45 +0300 |
commit | 4e5c0117cc033ef19c1183dad9b1b50d1f86137a (patch) | |
tree | d9b6369271b0fb4b5659494cd1abf8060b345c47 | |
parent | bash instead of tr for string conversion (diff) | |
download | windows-tmp-4e5c0117cc033ef19c1183dad9b1b50d1f86137a.tar.gz windows-tmp-4e5c0117cc033ef19c1183dad9b1b50d1f86137a.zip |
get rid of dead code
Diffstat (limited to '')
-rw-r--r-- | fix_nt_symbol_path.sh | 13 |
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() { |