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 Missing a $ for a shell variabl...



details:   https://anonhg.NetBSD.org/src/rev/9063687d9202
branches:  pkgviews
changeset: 534271:9063687d9202
user:      jlam <jlam%NetBSD.org@localhost>
date:      Mon Aug 25 22:03:33 2003 +0000

description:
Missing a $ for a shell variable reference.

diffstat:

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

diffs (20 lines):

diff -r 1dfd9b7f9923 -r 9063687d9202 usr.sbin/pkg_install/view/pkg_view.sh
--- a/usr.sbin/pkg_install/view/pkg_view.sh     Mon Aug 25 21:55:29 2003 +0000
+++ b/usr.sbin/pkg_install/view/pkg_view.sh     Mon Aug 25 22:03:33 2003 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: pkg_view.sh,v 1.1.2.30 2003/08/25 21:55:29 jlam Exp $
+# $NetBSD: pkg_view.sh,v 1.1.2.31 2003/08/25 22:03:33 jlam Exp $
 
 #
 # Copyright (c) 2001 Alistair G. Crooks.  All rights reserved.
@@ -218,7 +218,7 @@
                fi
                if [ -f ${pkg_dbdir}/$1/+DEINSTALL ]; then
                        $doit $chmodprog +x ${pkg_dbdir}/$1/+DEINSTALL
-                       $doit envprog -i PKG_PREFIX=${targetdir} ${pkg_dbdir}/$1/+DEINSTALL $1 VIEW-DEINSTALL
+                       $doit $envprog -i PKG_PREFIX=${targetdir} ${pkg_dbdir}/$1/+DEINSTALL $1 VIEW-DEINSTALL
                        ec=$?
                        if [ $ec != 0 ]; then
                                echo "pkg_view: de-install script returned an error." 1>&2



Home | Main Index | Thread Index | Old Index