Added conditional on the ngspice program to prevent errors when spiceinit file is used with ngnutmeg
This commit is contained in:
parent
6f529b3612
commit
3362c27ecf
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue