diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-11-23 00:26:22 -0500 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-11-23 00:26:22 -0500 |
commit | d8801b8efc8d78d573465c9e429907a53d31eac1 (patch) | |
tree | 774f31f7708f03abd54bbe5bb981d4211bd93871 /configure | |
parent | f5f416cf9f0b8f45ab5fa40f729ee7639b38fb4d (diff) |
allow override of DIRPATH
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |