[Midnightbsd-cvs] mports [20147] trunk/Tools/scripts/plist: switch to dir

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Aug 30 12:59:51 EDT 2015


Revision: 20147
          http://svnweb.midnightbsd.org/mports/?rev=20147
Author:   laffer1
Date:     2015-08-30 12:59:50 -0400 (Sun, 30 Aug 2015)
Log Message:
-----------
switch to dir

Modified Paths:
--------------
    trunk/Tools/scripts/plist

Property Changed:
----------------
    trunk/Tools/scripts/plist

Modified: trunk/Tools/scripts/plist
===================================================================
--- trunk/Tools/scripts/plist	2015-08-30 16:57:21 UTC (rev 20146)
+++ trunk/Tools/scripts/plist	2015-08-30 16:59:50 UTC (rev 20147)
@@ -31,7 +31,7 @@
 		thiswd.chop!
 		# Strip mtree-created directories
 		if level > 0 && !@mtree.find {|x| x == thiswd}
-			subs.push('@dirrm ' + thiswd)
+			subs.push('@dir ' + thiswd)
 		end
 		return subs
 	end
@@ -112,7 +112,7 @@
        a port has been installed into (PREFIX=somepath).  The mtree file is
        consulted to prevent base directories from being added to the plist.
        The -M argument allows manpages to be added to the plist.
-       The -d argument puts all @dirrm commands at the end of the plist.
+       The -d argument puts all @dir commands at the end of the plist.
 USAGE_EOF
 		exit 1
 	end
@@ -122,7 +122,7 @@
 		plnotdirrm = []
 		pldirrm = []
 		pl.each {|ent|
-			if ent =~ /^@dirrm /
+			if ent =~ /^@dir /
 				pldirrm.push(ent)
 			else
 				plnotdirrm.push(ent)


Property changes on: trunk/Tools/scripts/plist
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list