head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.8 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.6 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.4 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.2 pkgsrc-2025Q2-base:1.1; locks; strict; comment @# @; 1.1 date 2025.04.28.12.16.35; author hauke; state Exp; branches; next ; commitid VBbDeT0pTAa4AOSF; desc @@ 1.1 log @Qtl866 provides a GUI for the MiniPRO TL866, MiniPRO TL866CS and MiniPRO TL866A programmers. It utilizes the command-line based minipro tool and supports more than 13000 target devices, including AVRs, PICs, various BIOSes and EEPROMs. @ text @$NetBSD$ Un-bashify --- miniprohex.orig 2017-04-05 04:34:13.000000000 +0000 +++ miniprohex @@@@ -1,6 +1,6 @@@@ #!/bin/bash -if [ $# == 0 ] +if [ $# = 0 ] then cat << EOF miniprohex by Al Williams http://www.awce.com @@@@ -38,7 +38,7 @@@@ SRECOPTS= while [ $# != 0 ] do # note --obs x becomes --obs=x - if [ "$1" == "--obs" ] + if [ "$1" = "--obs" ] then SRECOPTS="$SRECOPTS $1=$2" shift @@@@ -46,11 +46,11 @@@@ do continue fi # note --line-length x becomes --line-length=x - if [ "$1" == "--line-length" ] + if [ "$1" = "--line-length" ] then SRECOPTS="$SRECOPTS $1=$2" fi - if [ "$1" == "--unfill" ] + if [ "$1" = "--unfill" ] then SRECOPTS="$SRECOPTS $1 $2 $3" shift @@@@ -58,24 +58,24 @@@@ do shift continue fi - if [ "$1" == "--offset" ] + if [ "$1" = "--offset" ] then SRECOPTS="$SRECOPTS $1 $2" shift shift continue fi - if [ "$1" == "-r" ] + if [ "$1" = "-r" ] then RWOPT=-r shift FN=$1 - elif [ "$1" == "-w" ] + elif [ "$1" = "-w" ] then RWOPT=-w shift FN=$1 - elif [ "$1" == "-p" ] + elif [ "$1" = "-p" ] then DEV=$2 shift @@@@ -124,7 +124,7 @@@@ PRECVT= POSTCVT= esac # If we write, do PRECMD and execute -if [ "$RWOPT" == -w ] +if [ "$RWOPT" = -w ] then $PRECVT minipro $OPTS -p "$DEV" $RWOPT $RFILE @