diff --git a/pg_rep_test b/pg_rep_test index bd8233c..4a7697c 100755 --- a/pg_rep_test +++ b/pg_rep_test @@ -1231,8 +1231,8 @@ file_body=$(cat <<-'TOOL_FILE' TOOL_FILE ) - local IFS="" - while [[ $(ls -A "tool${subset:+'_'$subset}.pg_rep_test" 2> /dev/null) ]] + unset IFS + while [[ $(ls -A "tool${subset:+_$subset}.pg_rep_test" 2> /dev/null) ]] do ((subset++)) done