Index: devhelpers/awk_on_formats.sh =================================================================== --- devhelpers/awk_on_formats.sh (revision 32543) +++ devhelpers/awk_on_formats.sh (revision 32544) @@ -5,7 +5,7 @@ # script specified in $1 on it awk_on_formats() { -(for n in ../src_plugins/*/*.pup +(for n in $ROOT/src_plugins/*/*.pup do echo "@@@ $n" cat $n @@ -16,6 +16,7 @@ BEGIN { osep = "
" + types="netlist footprint board image misc" } ($1 == "@@@") { @@ -37,6 +38,8 @@ function add(name, dir ,type) { + +# DO NOT FORGET TO UDPATE types IN BEGIN ^^^ if (name ~ "netlist") type = "netlist" else if (name ~ "schematic") @@ -49,6 +52,7 @@ type = "image" else type = "misc" +# DO NOT FORGET TO UDPATE types IN BEGIN ^^^ if (FMTS[dir, type] == "") FMTS[dir, type] = name