Index: trunk/util/devhelpers/pcb-rtrip =================================================================== --- trunk/util/devhelpers/pcb-rtrip (revision 4365) +++ trunk/util/devhelpers/pcb-rtrip (revision 4366) @@ -33,7 +33,7 @@ SaveTo(LayoutAs, '$fn'.trgt.'$ext', '$fmt') LoadFrom(Layout, '$fn'.trgt.'$ext', '$fmt') SaveTo(LayoutAs, '$fn'.new.pcb, pcb) -' | pcb-rnd --gui batch "$fn" +' | $bin --gui batch "$fn" if test -f "$fn.orig.pcb" -a -f "$fn.new.pcb" then @@ -70,14 +70,17 @@ echo "Switches:" echo " -f fmt format (e.g. lihata)" echo " -r remove target before overwrite" + echo " -b bin run bin instead of \"pcb-rnd\"" echo "" } - +# defaults fmt="lihata" fn="" remtgt="" +bin="pcb-rnd" + while test $# -gt 0 do case "$1" @@ -84,6 +87,7 @@ in --help) help "$0"; exit 0;; -f) fmt=$2; shift 1;; + -b) bin=$2; shift 1;; -r) remtgt=1;; *) if test -z "$fn"