summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-11-23 00:26:22 -0500
committerAdam Kocoloski <adam@cloudant.com>2010-11-23 00:26:22 -0500
commitd8801b8efc8d78d573465c9e429907a53d31eac1 (patch)
tree774f31f7708f03abd54bbe5bb981d4211bd93871 /configure
parentf5f416cf9f0b8f45ab5fa40f729ee7639b38fb4d (diff)
allow override of DIRPATH
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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