diff --git a/scripts/packageBinaries.pl b/scripts/packageBinaries.pl index f8281fa9bb134f5feeb1751edea75d51e529e449..b403cb581aab7787d2881060bf17901917bf58c0 100644 --- a/scripts/packageBinaries.pl +++ b/scripts/packageBinaries.pl @@ -377,7 +377,7 @@ if ( ($platform =~ m/AIX/i) || ($platform =~ m/HP-UX/i) || if ( $platform =~ m/AIX/i ) { $platform = "aix"; } if ( $platform =~ m/ptx/i ) { $platform = "ptx"; } - if (!length($opt_r)) { + if (length($opt_r) > 0) { system ("runConfigure -p$platform -c$opt_c -x$opt_x -m$opt_m -n$opt_n -t$opt_t -r$opt_r"); } else { system ("runConfigure -p$platform -c$opt_c -x$opt_x -m$opt_m -n$opt_n -t$opt_t");