From 610d7b81600075ec09cf66afa38ad6dbc7dd74a5 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Thu, 21 Mar 2013 11:13:49 +0000 Subject: - Fix dialog4ports missing when PREFIX!=LOCALBASE PR: ports/177174 Reported by: Hirohisa Yamaguchi With hat: portmgr --- Tools/scripts/dialog4ports.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Tools') diff --git a/Tools/scripts/dialog4ports.sh b/Tools/scripts/dialog4ports.sh index b3303ef..77f3495 100644 --- a/Tools/scripts/dialog4ports.sh +++ b/Tools/scripts/dialog4ports.sh @@ -15,7 +15,9 @@ OPTIONSFILE="$1" if ! [ -e $DIALOG4PORTS ]; then # If INSTALL_AS_USER is set then just build and use the WRKDIR version - if [ -n "${INSTALL_AS_USER}" ]; then + # Also do this if PREFIX!=LOCALBASE to avoid missing file or double + # installs + if [ -n "${INSTALL_AS_USER}" -o "${PREFIX}" != "${LOCALBASE}" ]; then if ! [ -d "${PORTSDIR}/${DIALOGPORT}" ]; then echo "===> Skipping 'config' as ${DIALOGPORT} is not checked out" >&2 exit 1 -- cgit v1.1