[27243] trunk/dports/gnustep/gnustep-base/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Jul 25 08:35:18 PDT 2007


Revision: 27243
          http://trac.macosforge.org/projects/macports/changeset/27243
Author:   yves at macports.org
Date:     2007-07-25 08:35:17 -0700 (Wed, 25 Jul 2007)

Log Message:
-----------
use return instead of exit

Modified Paths:
--------------
    trunk/dports/gnustep/gnustep-base/Portfile

Modified: trunk/dports/gnustep/gnustep-base/Portfile
===================================================================
--- trunk/dports/gnustep/gnustep-base/Portfile	2007-07-25 15:34:55 UTC (rev 27242)
+++ trunk/dports/gnustep/gnustep-base/Portfile	2007-07-25 15:35:17 UTC (rev 27243)
@@ -34,12 +34,12 @@
     if { [variant_isset with_docs] &&
             [catch {set ilist [registry_installed ${name}]} result ]            
     } then {
-        ui_warn "
+        return -code error "
+        
             gnustep-base documentation depends on gnustep-base ...
             You must install gnustep-base before trying to install\
             gnustep-base +with_docs
         "
-        exit 1
     }
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070725/bd29c982/attachment.html


More information about the macports-changes mailing list