File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 349
349
gc alloc runtime))
350
350
(setf (symbol-function ' exit) (symbol-function ' unix::exit))
351
351
; ;
352
- ; (when (substringp "P" (string-upcase *program-name*))
352
+ ; (when (substringp "P" (string-upcase (pathname-name *program-name*) ))
353
353
(in-package " SYSTEM" )
354
354
(system ::exec-module-init " par" " l/par.l" )
355
355
; ;
368
368
; ; load geometric package
369
369
; ;
370
370
371
- (when (or (substringp " G" (string-upcase *program-name* ))
372
- (substringp " X" (string-upcase *program-name* ))
373
- (substringp " COMP" (string-upcase *program-name* )))
371
+ (when (let ((*program-name* (string-upcase (pathname-name *program-name* ))))
372
+ (or (substringp " G" *program-name* )
373
+ (substringp " X" *program-name* )
374
+ (substringp " COMP" *program-name* )))
374
375
; ; (format t "Loading geometry modules.~%")
375
376
(sys :alloc 80000 )
376
377
(sys :alloc 50000 )
You can’t perform that action at this time.
0 commit comments