commit 95712356637f2e16d0b4ef246b4c1bc222b7b7c7 parent a32ea547d08a54686751ac55993b09445f4f8e6c Author: umhau <umhau@users.noreply.github.com> Date: Tue, 1 Nov 2016 19:54:21 -0400 fixed iterations input -z should have been -n Diffstat:
| M | vmc.sh | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vmc.sh b/vmc.sh @@ -36,7 +36,8 @@ if [[ $2 = '-record' ]]; then sentence_file=$3 output_folder=$4 - if [[ -z $5 ]]; then + if [ -n "$5" ]; then + iterations=$5 else iterations=1