summaryrefslogtreecommitdiff
path: root/mail/youbin
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-12-03 05:15:10 +0000
committerSteve Price <steve@FreeBSD.org>2000-12-03 05:15:10 +0000
commit0734ed939b69a17a20cf1016330cabe1234a79d8 (patch)
tree6f7d28ca448a51ba38eaf91b3b8fd1ccf19fbda7 /mail/youbin
parentAdd a new official distribution patch, number 5655. (diff)
Be a little more forgiving when testing for BATCH or PACKAGE_BUILDING.
Notes
Notes: svn path=/head/; revision=35619
Diffstat (limited to 'mail/youbin')
-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