From d8801b8efc8d78d573465c9e429907a53d31eac1 Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Tue, 23 Nov 2010 00:26:22 -0500 Subject: allow override of DIRPATH --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index e7900e82..b9119ea1 100755 --- a/configure +++ b/configure @@ -21,7 +21,7 @@ function quit { PREFIX="/opt/bigcouch" BIGCOUCH_USER=`whoami` ABSPATH="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")" -DIRPATH=`dirname "$ABSPATH"` +if test ! -n "$DIRPATH"; then DIRPATH=`dirname "$ABSPATH"`; fi while [ $# -gt 0 ] do -- cgit v1.2.3