falsecolor: Handle file names with spaces
authorAxel Jacobs <axel@jaloxa.eu>
Tue, 15 Apr 2014 21:53:58 +0100
changeset 779b1ffdf784be
parent 76 c9a4f39c439f
child 78 32b004cb16a1
falsecolor: Handle file names with spaces
bin/falsecolor.pl
     1.1 --- a/bin/falsecolor.pl	Tue Apr 15 21:53:24 2014 +0100
     1.2 +++ b/bin/falsecolor.pl	Tue Apr 15 21:53:58 2014 +0100
     1.3 @@ -318,6 +318,10 @@
     1.4  
     1.5  # Command line without extrema
     1.6  $cmd = qq[pcomb $pc0args $pc1args $picture $cpict];
     1.7 +$cmd = qq[pcomb $pc0args $pc1args "$picture"];
     1.8 +if ($cpict) {
     1.9 +    $cmd .= qq[ "$cpict"];
    1.10 +}
    1.11  $cmd .= qq[ | pcompos $scolpic 0 0 +t .1 $slabinvpic 2 $loff1];
    1.12  $cmd .= qq[ -t .5 $slabpic 0 $loff - $legwidth 0];
    1.13