ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/genBSDF.pl
(Generate patch)

Comparing ray/src/util/genBSDF.pl (file contents):
Revision 2.60 by greg, Fri May 29 08:13:46 2015 UTC vs.
Revision 2.63 by greg, Tue Feb 9 23:05:26 2016 UTC

# Line 39 | Line 39 | if ($windoz) {
39          $tbz = "$td\\tbz.dat";
40          $rbz = "$td\\rbz.dat";
41          chomp $td;
42 <        $rmtmp = "rmdir /S /Q $td";
42 >        $rmtmp = "rd /S /Q $td";
43   } else {
44          $td = mkdtemp("/tmp/genBSDF.XXXXXX");
45          chomp $td;
# Line 223 | Line 223 | if ( $tensortree ) {
223   }
224   # Output XML
225   # print STDERR "Running: $wrapper\n";
226 < system "$wrapper -C 'Created by: genBSDF @savedARGV'";
226 > system "$wrapper -C \"Created by: genBSDF @savedARGV\"";
227   die "Could not wrap BSDF data\n" if ( $? );
228   # Clean up temporary files and exit
229   exec $rmtmp;
# Line 460 | Line 460 | sub matrix_comp {
460          $cmd .= " $src | rcollate -ho -oc 145";
461          # print STDERR "Running: $cmd\n";
462          system "$cmd > $dest";
463 <        die "Failure running rttree_reduce" if ( $? );
463 >        die "Failure running rmtxop" if ( $? );
464          if ( "$spec" ne "$curspec" ) {
465                  $wrapper .= " -s $spec";
466                  $curspec = $spec;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines