diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-10 09:08:43 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-10 09:08:43 +0300 |
commit | 5d76397dfbded8648303a8437b6c1bc5c79bf110 (patch) | |
tree | a093c3b1c6a20aa7cddf113f4d9f25f09e13879f /fix_nt_symbol_path.sh | |
parent | refactoring (diff) | |
download | windows-tmp-5d76397dfbded8648303a8437b6c1bc5c79bf110.tar.gz windows-tmp-5d76397dfbded8648303a8437b6c1bc5c79bf110.zip |
bugfix
Diffstat (limited to '')
-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 |