summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 5c8b3184..83a9dedb 100755
--- a/configure
+++ b/configure
@@ -5,8 +5,6 @@ function quit {
}
PREFIX="/opt/dbcore"
-DATA="/srv/db"
-VIEW="/srv/view_index"
DBCORE_USER=`whoami`
while [ $# -gt 0 ]
@@ -40,6 +38,9 @@ do
esac
done
+if test ! -n "$DATA"; then DATA="$PREFIX/var/lib"; fi
+if test ! -n "$VIEW"; then VIEW="$PREFIX/var/lib"; fi
+
echo "==> configuring dbcore in rel/overlay.config"
cat > rel/overlay.config << EOF
{prefix, "$PREFIX"}.