https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289368

Mark Millard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Mark Millard <[email protected]> ---
(In reply to Dave Cottlehuber from comment #2)

The below does not define BASEDIR to be a nonempty path if it is initially
undefined or is empty? check_pkgbase then expands it to nothing, not even to an
explicit empty string? pkg -c -N and pkg -c which result?

#### Entry point

# Make sure we find utilities from the base system
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:${PATH}

# Set a pager if the user doesn't
if [ -z "$PAGER" ]; then
        PAGER=/usr/bin/less
fi

# Set LC_ALL in order to avoid problems with character ranges like [A-Z].
export LC_ALL=C

# Clear environment variables that may affect operation of tools that we use.
unset GREP_OPTIONS

# Disallow use with packaged base.
check_pkgbase

get_params $@
for COMMAND in ${COMMANDS}; do
        cmd_${COMMAND}
done

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to