diff options
-rw-r--r-- | fix_nt_symbol_path.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |