aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-12-03 13:15:10 +0800
committersteve <steve@FreeBSD.org>2000-12-03 13:15:10 +0800
commit35599204813a8238895cda0dfb874f46b3b3ce76 (patch)
tree4ae3c96442c7acdfd8d64c7c337a9effd309f376 /mail
parent344e63ad70378414f20f5a7586be8bf1ae5fdaba (diff)
downloadfreebsd-ports-gnome-35599204813a8238895cda0dfb874f46b3b3ce76.tar.gz
freebsd-ports-gnome-35599204813a8238895cda0dfb874f46b3b3ce76.tar.zst
freebsd-ports-gnome-35599204813a8238895cda0dfb874f46b3b3ce76.zip
Be a little more forgiving when testing for BATCH or PACKAGE_BUILDING.
Diffstat (limited to 'mail')
-rw-r--r--mail/youbin/pkg-req2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/youbin/pkg-req b/mail/youbin/pkg-req
index 49ca506bd304..54c20c0a27ae 100644
--- a/mail/youbin/pkg-req
+++ b/mail/youbin/pkg-req
@@ -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