In MAIN: use args parameter instead of command-line for directory;
allows to start from within scsh manually
This commit is contained in:
		
							parent
							
								
									84e22f065e
								
							
						
					
					
						commit
						5e12e7ec0e
					
				|  | @ -138,7 +138,7 @@ exec scsh -lel SSAX-4.9/load.scm -lel sunet-2.1/load.scm -dm -o surflet-server - | |||
|      | ||||
|     (define (main args) | ||||
|       (with-cwd  | ||||
| 	  (file-name-directory (car (command-line))) | ||||
| 	  (file-name-directory (car args)) | ||||
| 	(let ((options (make-options-from-args (cdr args)))) | ||||
| 	 (cond ((zero? (user-uid)) | ||||
| 		(set-gid (->gid "nobody")) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 interp
						interp