Ticket #52358: patch-defined.diff

File patch-defined.diff, 445 bytes (added by aque (Allan Que), 8 years ago)
  • fixpaths

     
    77
    88$ext="out";
    99
    10 if (!defined(@ARGV)) { die ("$usage"); }
     10if (!@ARGV) { die ("$usage"); }
    1111
    1212# read in the command line and get some definitions
    1313while ($_=$ARGV[0], /^-/) {
     
    2626  }
    2727} # while parsing arguments
    2828
    29 if (!defined(%def)) {
     29if (!%def) {
    3030  die ("$0: nothing to do - no substitutions listed!\n");
    3131}
    3232