Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pkgviews]: src/usr.sbin/pkg_install/view PLIST_IGNORE_FILES is simply th...



details:   https://anonhg.NetBSD.org/src/rev/cc725799d7fa
branches:  pkgviews
changeset: 534227:cc725799d7fa
user:      jlam <jlam%NetBSD.org@localhost>
date:      Mon Jul 14 22:11:01 2003 +0000

description:
PLIST_IGNORE_FILES is simply the default value for "ignorefiles".  When we
actually need to ignore files when adding or deleting files from a view, we
want to use pass ${ignorefiles}, which contains the true list of files to
ignore, through to the linkfarm script.

diffstat:

 usr.sbin/pkg_install/view/pkg_view.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 9e7acc6a0131 -r cc725799d7fa usr.sbin/pkg_install/view/pkg_view.sh
--- a/usr.sbin/pkg_install/view/pkg_view.sh     Mon Jul 14 14:26:31 2003 +0000
+++ b/usr.sbin/pkg_install/view/pkg_view.sh     Mon Jul 14 22:11:01 2003 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: pkg_view.sh,v 1.1.2.10 2003/07/14 14:26:31 jlam Exp $
+# $NetBSD: pkg_view.sh,v 1.1.2.11 2003/07/14 22:11:01 jlam Exp $
 
 #
 # Copyright (c) 2001 Alistair G. Crooks.  All rights reserved.
@@ -123,7 +123,7 @@
                        echo "Package $1 already exists in $viewstr."
                else
                        dbs=`(cd ${depot_pkg_dbdir}/$1; echo +*)`
-                       env PLIST_IGNORE_FILES="${PLIST_IGNORE_FILES} $dbs" $linkfarmprog --target=${targetdir} --dir=${depot_pkg_dbdir} $1
+                       env PLIST_IGNORE_FILES="${ignorefiles} $dbs" $linkfarmprog --target=${targetdir} --dir=${depot_pkg_dbdir} $1
                        $mkdirprog -p ${depot_pkg_dbdir}/$1
                        temp=${depot_pkg_dbdir}/$1/+VIEWS.$$
                        $touchprog ${depot_pkg_dbdir}/$1/+VIEWS
@@ -144,7 +144,7 @@
                        echo "Package $1 does not exist in $viewstr."
                else
                        dbs=`(cd ${depot_pkg_dbdir}/$1; echo +*)`
-                       env PLIST_IGNORE_FILES="${PLIST_IGNORE_FILES} $dbs" $linkfarmprog -D --target=${targetdir} --dir=${depot_pkg_dbdir} $1
+                       env PLIST_IGNORE_FILES="${ignorefiles} $dbs" $linkfarmprog -D --target=${targetdir} --dir=${depot_pkg_dbdir} $1
                        temp=${depot_pkg_dbdir}/$1/+VIEWS.$$
                        $cpprog ${depot_pkg_dbdir}/$1/+VIEWS ${temp}
                        ($grepprog -v '^'${pkg_dbdir}'$' ${temp} || true) > ${depot_pkg_dbdir}/$1/+VIEWS



Home | Main Index | Thread Index | Old Index