1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Be a little more forgiving when testing for BATCH or PACKAGE_BUILDING.

This commit is contained in:
Steve Price 2000-12-03 05:15:10 +00:00
parent 3836c80193
commit 0734ed939b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35619

View File

@ -7,7 +7,7 @@ case "$2" in
echo '* It is discouraged to use this program to avoid any security *'
echo '* problem. *'
echo '**********************************************************************'
if [ "X${BATCH}" = "Xyes" ]; then
if [ ! -z "${PACKAGE_BUILDING}" || ! -z "${BATCH}" ]; then
exit 0
fi
read -p 'Would you like to proceed (y/n)? ' ans