How come macports does not recognize "exit" ?

Daniel J. Luke dluke at geeklair.net
Wed Jul 25 08:22:35 PDT 2007


On Jul 25, 2007, at 11:17 AM, Yves de Champlain wrote:
> If I understand, the following code should end with "return 1"  
> instead of "exit 1" ?

Yes, or you could use "return -code error"

You can also include some explanation (like the fusefs Portfile  
does), but I'm not sure if/how the macports infrastructure uses it.
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20070725/c42db689/PGP.bin


More information about the macports-dev mailing list