I know this is a stupid question about your (cool!) hint, please forgive me...

Should new info files prepend "#!/bin/sh" at the beginning of scripts or is it optional? (and only for debugging)

Carsten

On Friday, January 31, 2003, at 07:47 pm, Ben Hines wrote:

Run your in-line fink scripts with -ex:

CompileScript: <<
#!/bin/sh -ex
export CCACHE_DISABLE=1
rm LIBLINK/*
make all PREFIX=%p LDFLAGS=-L%p/lib MOTIF_LIBPATH=%p/lib/libXm.3.dylib LIBDIR=%p/lib LIBPATH="-LLIBLINK -L%p/lib" XINCLUDES="-I/usr/X11R6/include -I%p/include/" CFLAGS=-DNDEBUG
<<


It makes debugging much easier.

- The -e makes it fail if one of the commands fails. (supposed to, havent tried it :)
- The -x makes it echo the commands as it performs them

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to