]> git.donarmstrong.com Git - uiuc_igb_scripts.git/commitdiff
fix two typos in dqsub
authorDon Armstrong <don@donarmstrong.com>
Wed, 5 Aug 2015 16:37:01 +0000 (09:37 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 5 Aug 2015 16:37:01 +0000 (09:37 -0700)
dqsub

diff --git a/dqsub b/dqsub
index 1d3dd1b801bc8d39efa013dea43ebdceea544278..e0b9744405f90e3495aacfee6bd55062b4b49a98 100644 (file)
--- 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,$_;