[27710] trunk/base/src/port1.0/portdestroot.tcl

source_changes at macosforge.org source_changes at macosforge.org
Sun Aug 12 08:26:19 PDT 2007


Revision: 27710
          http://trac.macosforge.org/projects/macports/changeset/27710
Author:   mww at macports.org
Date:     2007-08-12 08:26:19 -0700 (Sun, 12 Aug 2007)

Log Message:
-----------
add a warning message if a port indicates an mtree violation

Modified Paths:
--------------
    trunk/base/src/port1.0/portdestroot.tcl

Modified: trunk/base/src/port1.0/portdestroot.tcl
===================================================================
--- trunk/base/src/port1.0/portdestroot.tcl	2007-08-12 15:13:17 UTC (rev 27709)
+++ trunk/base/src/port1.0/portdestroot.tcl	2007-08-12 15:26:19 UTC (rev 27710)
@@ -271,6 +271,8 @@
 		if { ${mtree_violation} != "no" } {
 			error "mtree violation!"
 		}
+	} else {
+		ui_warn "[format [msgcat::mc "%s requests to install files outside the common directory structure!"] [option portname]]"
 	}
 
     # Restore umask

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


More information about the macports-changes mailing list