Ticket #31029: patch-Portfile.diff
File patch-Portfile.diff, 709 bytes (added by carsomyr@…, 13 years ago) |
---|
-
Portfile
old new 59 59 xinstall -d ${buildpath} 60 60 set fp [open ${buildpath}/svg2pdf w] 61 61 puts $fp "#!/bin/sh" 62 puts $fp "if [ $# -lt 2 -o \"$1\" = \"-h\" -o \"$1\" = \"--help\"] ; then"63 puts $fp " echo \"FAIL: usage: $0 input_file.svg output_file.pdf\""62 puts $fp "if \[ \$# -lt 2 -o \"\$1\" = \"-h\" -o \"\$1\" = \"--help\" \] ; then" 63 puts $fp " echo \"FAIL: usage: \$0 input_file.svg output_file.pdf\"" 64 64 puts $fp " exit 255;" 65 65 puts $fp "fi" 66 puts $fp "rsvg-convert -f pdf -o \" $2\" \"$1\""66 puts $fp "rsvg-convert -f pdf -o \"\$2\" \"\$1\"" 67 67 close $fp 68 68 } 69 69