From 0734ed939b69a17a20cf1016330cabe1234a79d8 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 3 Dec 2000 05:15:10 +0000 Subject: Be a little more forgiving when testing for BATCH or PACKAGE_BUILDING. --- mail/youbin/pkg-req | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/youbin') 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 -- cgit v1.2.3