Mail Archives: djgpp/1997/05/26/05:04:53
>> When I want to re-create an older version of a file, RCS (or EMACS ?)
>> complains that it can't find the file '/bin/sh.exe'. I created /bin
>> directory and copied bash to that dir as sh.exe and all worked fine.
I think I solved the problem. The problem is with the lisp file vc.el in
the function
'vc-backend-checkout'. The Lisp code creates an in-memory shell script and
then
runs it by invoking "/bin/sh" (hard-coded). I changed the string
"/bin/sh" to just
"sh" , compiled it and copied it to Emacs/lisp directory. Now it works fine
since
"sh" is found on the PATH.
>> Can 4DOS be used instead bash ?
> You must be kidding. Powerful as 4DOS is, it cannot replace `sh' when
> you need to run a complex shell script.
You are right. I thought that "sh" is used only to run a 'child process'.
Thanks.
Eyal.
- Raw text -