Added conditional on the ngspice program to prevent errors when spiceinit file is used with ngnutmeg

This commit is contained in:
sjborley 2005-05-10 21:52:58 +00:00
parent 6f529b3612
commit 3362c27ecf
1 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,10 @@
alias exit quit
alias acct rusage all
set x11lineararcs
strcmp __flag $program "ngspice"
if $__flag = 0
*set numparams
* For SPICE2 POLYs, edit the below line to point to the location
@ -13,3 +17,6 @@ set x11lineararcs
@XSPICEINIT@ codemodel @prefix@/lib/spice/digital.cm
@XSPICEINIT@ codemodel @prefix@/lib/spice/xtradev.cm
@XSPICEINIT@ codemodel @prefix@/lib/spice/xtraevt.cm
end
unset __flag