--- ray/src/util/genBSDF.pl 2015/08/26 02:27:09 2.61 +++ ray/src/util/genBSDF.pl 2016/02/08 00:51:32 2.62 @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# RCSid $Id: genBSDF.pl,v 2.61 2015/08/26 02:27:09 greg Exp $ +# RCSid $Id: genBSDF.pl,v 2.62 2016/02/08 00:51:32 greg Exp $ # # Compute BSDF based on geometry and material description # @@ -223,7 +223,7 @@ if ( $tensortree ) { } # Output XML # print STDERR "Running: $wrapper\n"; -system "$wrapper -C 'Created by: genBSDF @savedARGV'"; +system "$wrapper -C \"Created by: genBSDF @savedARGV\""; die "Could not wrap BSDF data\n" if ( $? ); # Clean up temporary files and exit exec $rmtmp;