# HG changeset patch # User Axel Jacobs # Date 1397595238 -3600 # Node ID 9b1ffdf784be00bedfa5ba63f7df23737de55b37 # Parent c9a4f39c439f728bfe9e018c57d4ea865f1c73a6 falsecolor: Handle file names with spaces diff -r c9a4f39c439f -r 9b1ffdf784be bin/falsecolor.pl --- a/bin/falsecolor.pl Tue Apr 15 21:53:24 2014 +0100 +++ b/bin/falsecolor.pl Tue Apr 15 21:53:58 2014 +0100 @@ -318,6 +318,10 @@ # Command line without extrema $cmd = qq[pcomb $pc0args $pc1args $picture $cpict]; +$cmd = qq[pcomb $pc0args $pc1args "$picture"]; +if ($cpict) { + $cmd .= qq[ "$cpict"]; +} $cmd .= qq[ | pcompos $scolpic 0 0 +t .1 $slabinvpic 2 $loff1]; $cmd .= qq[ -t .5 $slabpic 0 $loff - $legwidth 0];