> $ sh
> $ PACKAGES=/home/packages
> $ export PACKAGES
> $ /usr/local/sbin/pkg_info -I xorg-clients-6.8.2
> pkg_info: can't find package 'xorg-clients-6.8.2' installed or in a file!
> $ PKG_PATH=/home/packages/All
> $ export PKG_PATH
> $ /usr/local/sbin/pkg_info -I xorg-clients-6.8.2
> xorg-clients-6.8.2  X client programs and related files from X.Org
> $ 

        We need to clean PKG_PATH from the envirionment when looking
        for conflicts.

        e.g.

found=`${SETENV} PKG_PATH= ${PKG_INFO} -I ${CONFLICTS:C/.+/'&'/} 2>/dev/
null | ${AWK} '{print $$1}'`;

        Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: [EMAIL PROTECTED]
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to