From 5d76397dfbded8648303a8437b6c1bc5c79bf110 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 10 Oct 2016 09:08:43 +0300 Subject: bugfix --- fix_nt_symbol_path.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fix_nt_symbol_path.sh') diff --git a/fix_nt_symbol_path.sh b/fix_nt_symbol_path.sh index cba0171..7fb5155 100644 --- a/fix_nt_symbol_path.sh +++ b/fix_nt_symbol_path.sh @@ -68,7 +68,7 @@ path_contains() { IFS="$path_separator" read -ra env_paths <<< "$env_value" - for env_path in "${env_paths[@]+"${env_paths[@]}"}"; do + for env_path in ${env_paths[@]+"${env_paths[@]}"}; do if [ "$env_path" == "$path_to_add" ]; then return 0 fi -- cgit v1.2.3