From 4e5c0117cc033ef19c1183dad9b1b50d1f86137a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 11 Oct 2016 02:48:45 +0300 Subject: get rid of dead code --- fix_nt_symbol_path.sh | 13 ------------- 1 file changed, 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() { -- cgit v1.2.3