head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2026.02.27.07.34.14; author wiz; state Exp; branches; next ; commitid ctr2LpSbDOerdZvG; desc @@ 1.1 log @premake5: fix unportable test(1) operator @ text @$NetBSD$ Fix unportable test(1) operator. --- binmodules/luasocket/gem/myps2pdf.orig 2026-02-27 07:33:08.061611151 +0000 +++ binmodules/luasocket/gem/myps2pdf @@@@ -39,7 +39,7 @@@@ esac *) echo "$usage" 1>&2 ; exit 1 ;; esac -if [ $best == 1 ] +if [ $best = 1 ] then options="-dPDFSETTINGS=/prepress \ -r1200 \ @@@@ -73,19 +73,19 @@@@ fi -dAutoFilterColorImages=true" fi -if [ $rot == 1 ] +if [ $rot = 1 ] then options="$options -dAutoRotatePages=/PageByPage" fi -if [ $eps == 1 ] +if [ $eps = 1 ] then options="$options -dEPSCrop" fi set -x -if [ $a4 == 1 ] +if [ $a4 = 1 ] then # Resize from A4 to letter size psresize -Pa4 -pletter "$ifilename" myps2pdf.temp.ps @@@@ -104,7 +104,7 @@@@ gs -q -dSAFER -dNOPAUSE -dBATCH \ -dPreserveEPSInfo=true \ -c .setpdfwrite -f "$ifilename" -if [ $do_opt == 1 ] +if [ $do_opt = 1 ] then pdfopt myps2pdf.temp.pdf $ofilename else @