[27259] trunk/dports/print/ghostscript-fonts-hiragino/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 26 00:04:17 PDT 2007


Revision: 27259
          http://trac.macosforge.org/projects/macports/changeset/27259
Author:   takanori at macports.org
Date:     2007-07-26 00:04:17 -0700 (Thu, 26 Jul 2007)

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

Modified Paths:
--------------
    trunk/dports/print/ghostscript-fonts-hiragino/Portfile

Modified: trunk/dports/print/ghostscript-fonts-hiragino/Portfile
===================================================================
--- trunk/dports/print/ghostscript-fonts-hiragino/Portfile	2007-07-26 07:03:56 UTC (rev 27258)
+++ trunk/dports/print/ghostscript-fonts-hiragino/Portfile	2007-07-26 07:04:17 UTC (rev 27259)
@@ -33,8 +33,7 @@
 
 		  foreach {file font aliases} ${FontList} {
 			if {![file exists ${SystemLibraryFontsDir}/${file}]} {
-                           ui_error "Please place \"${file}\" in ${SystemLibraryFontsDir} and restart the build."
-                           exit 1
+                           return -code error "Please place \"${file}\" in ${SystemLibraryFontsDir} and restart the build."
                         }
 
 			system "ln -s \"${SystemLibraryFontsDir}/${file}\" ${GSCIDFontDir}/${font}"

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


More information about the macports-changes mailing list