From: Dobrica Pavlinusic Date: Fri, 17 Jun 2016 05:45:58 +0000 (+0200) Subject: svf file to send as argument X-Git-Url: http://git.rot13.org/?p=x300-pci;a=commitdiff_plain;h=c98fb5d0f05c4aa541a9fa5b6bc1adaaf1243dcc svf file to send as argument --- diff --git a/svf.sh b/svf.sh index 3472ea3..9a89138 100755 --- a/svf.sh +++ b/svf.sh @@ -1,2 +1,4 @@ svf=/nuc/altera-squeeze/root/epm3128/epm3128.svf +test ! -z "$1" && svf=$1 ls -al $svf && ( echo svf $svf | nc -w 1 picam 4444 ) + diff --git a/xsvf.sh b/xsvf.sh index aa1e74e..0ffd2d8 100755 --- a/xsvf.sh +++ b/xsvf.sh @@ -1,8 +1,10 @@ svf=/nuc/altera-squeeze/root/epm3064/3064at44.svf +test ! -z "$1" && svf=$1 ls -al $svf && ( python3 svf2xsvf.py $svf $svf.xsvf svf=$svf.xsvf - echo xsvf x300.tap $svf virt2 | nc -w 1 picam 4444 + echo xsvf x300.tap $svf | nc -w 1 picam 4444 + ls -al $svf )