svn commit: r253329 - projects/portbuild/scripts

Martin Wilke miwi at FreeBSD.org
Sat Jul 13 20:56:09 UTC 2013


Author: miwi
Date: Sat Jul 13 20:56:09 2013
New Revision: 253329
URL: http://svnweb.freebsd.org/changeset/base/253329

Log:
  - Replace dependents=$(pkg info -qOr $base) to dependents=$(pkg query "%ro" $base)

Modified:
  projects/portbuild/scripts/buildscript   (contents, props changed)

Modified: projects/portbuild/scripts/buildscript
==============================================================================
--- projects/portbuild/scripts/buildscript	Sat Jul 13 19:42:52 2013	(r253328)
+++ projects/portbuild/scripts/buildscript	Sat Jul 13 20:56:09 2013	(r253329)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $FreeBSD: ports/Tools/portbuild/scripts/buildscript,v 1.39 2010/06/30 14:51:47 linimon Exp $
+# $FreeBSD$
 
 # client-side script to actually build a package.  intended to be run in a jail.
 
@@ -109,7 +109,7 @@ del_pkg() {
           dependents=$(cat /var/db/pkg/${base}/+REQUIRED_BY 2>/dev/null)
           pkg_cmd_check="cd /var/db/pkg && test -d"
         else
-          dependents=$(pkg info -qOr $base)
+          dependents=$(pkg query "%ro" $base)
           pkg_cmd_check="pkg info -qe"
         fi
         if [ -n "$dependents" ]; then


More information about the svn-src-projects mailing list