X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=quartus%2Flinux_web.sh;h=3799776239728d8084ebce5a250a2ca2dbb4ec50;hb=1cfb36aa199424a0d70972460d4f2fec1c3a4067;hp=a6d0b4a8c61487f6e052931c704a3ec7d5fe9bb4;hpb=00b04ab2e13e864bca89f80f211e887f2973c156;p=hwmod.git diff --git a/quartus/linux_web.sh b/quartus/linux_web.sh index a6d0b4a..3799776 100755 --- a/quartus/linux_web.sh +++ b/quartus/linux_web.sh @@ -1,6 +1,12 @@ #!/bin/sh unset LS_COLORS -sed -e 's/%DEVICE%/EP1S10F672C6/g' project_gen.tcl > project_web.tcl +if [ "$1" = "" ]; then + echo "kein param" + sed -e 's/%DEVICE%/EP1S10F672C6/g' project_gen.tcl > project_web.tcl +else + echo "param $1" + sed -e 's/%DEVICE%/EP1S10F672C6/g' $1 > project_web.tcl +fi mkdir -p calc cd calc quartus_sh -t ../project_web.tcl