#!/bin/bash## This script generate alternavive data names (Required by some PCB manufacturers such as Pragoboard.cz)#### Usage:#### Run this script with prarameter of directory in which Gerber data is located.#### Example:#### ./gen_PragoBoard.sh /home/kaklik/svnMLAB/Modules/CommRF/GSM01A/CAM_PROFI/#### This comand generates new directory PragoBoard with these files:## bot.gbr mill.gbr plt.gbr pth.exc smb.gbr smt.gbr top.gbr###### TODO: non plated drill is not properly handled.##cd $1mkdir ./PragoBoard/cp V1.PHO ./PragoBoard/top.gbrcp V2.PHO ./PragoBoard/bot.gbrcp M1.PHO ./PragoBoard/smt.gbrcp M2.PHO ./PragoBoard/smb.gbrcp T1.PHO ./PragoBoard/plt.gbrcp BOARD.PHO ./PragoBoard/mill.gbrcp DRILL.DRL ./PragoBoard/pth.exc#cp nDRILL.DRL ./PragoBoard/npth.exc #neprokovene vrtani