Why not let fink test for the presence of the patchscript file? Maybe using a similar mechanism that test for the presence of the source in /sw/src. Let me add that I have no idea about the inner workings of fink, so I might be way out of line :)

- Koen.

On May 18, 2005, at 1:24 PM, Dave Vasilevsky wrote:

[snip patchscript options]

Another option, which doesn't require changes to hundreds of packages, is to require bash 3.0 and use the pipefail option for PatchScripts:

bash-3.00$ false | true; echo $?
0
bash-3.00$ set -o pipefail
bash-3.00$ false | true; echo $?
1

Dave



------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to