From: Tobias Reif Date: 2002-05-30T20:42:53+09:00 Subject: Re: OS independent scripts, system calls on Windows and Linux Hi, nobu.nokada@softhome.net wrote: >>On my WinME system, there seems to be no make or nmake: >> > Borland make is contained in C++ Builder 5.5 avaiable from > Borland site. >>For my project, I want to pack a script with it that people can run, >>on any of the popular OSes. ... without having to install Borland make; just the tools I'm scripting, or Ruby. > Perhaps I'll distribute it with a .bat >>*and* .sh, like some Apache projects do. >> > For shell scripct, `set -e' may help you. I see; http://lists.debian.org/debian-ctte/2000/debian-ctte-200012/msg00012.html " Shell scripts (`sh' and `bash') should almost certainly start with `set -e' so that errors are detected. Every script should use `set -e' or check the exit status of _every_ command." Thx, Tobi -- http://www.pinkjuice.com/