From: Don Armstrong Date: Wed, 5 Aug 2015 16:37:01 +0000 (-0700) Subject: fix two typos in dqsub X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=846133dbbe4ef3aa625c07c9df9ddc453f12069c;p=uiuc_igb_scripts.git fix two typos in dqsub --- diff --git a/dqsub b/dqsub index 1d3dd1b..e0b9744 100644 --- a/dqsub +++ b/dqsub @@ -127,7 +127,7 @@ pod2usage(join("\n",@USAGE_ERRORS)) if @USAGE_ERRORS; my @qsub_options = generate_qsub_options(\%options); if ($options{interactive}) { - print STDERR 'running: qsub '.join(' ',@qsub_options) if $DEBUG: + print STDERR 'running: qsub '.join(' ',@qsub_options) if $DEBUG; exec('qsub',@qsub_options); } else { my @array = (); @@ -169,7 +169,7 @@ sub read_array_options{ $fh = IO::File->new(defined $options->{array_from}) or die "Unable to open $options->{array_from} for reading: $!"; } - my @arrah; + my @array; for (<$fh>) { chomp; push @array,$_;