summaryrefslogtreecommitdiff
path: root/src/monkeysphere-host
diff options
context:
space:
mode:
authorJameson Rollins <jrollins@finestructure.net>2010-09-14 12:26:58 -0400
committerJameson Rollins <jrollins@finestructure.net>2010-09-14 12:26:58 -0400
commitc130b480b6e0d327a15f9da9d89ede7f58da32d1 (patch)
treedab2c28bb11716eae45b5addc9ff8fee5f3c765f /src/monkeysphere-host
parent5de80495d5f73f712f084069c1a7afa6ec2daae4 (diff)
fix specification of install directories in top level scripts.
Various install paths were hard coded in the top level scripts. This was causing problems for non-standard install locations. Also added use of LOCALSTATEDIR variable to specify /var/lib path.
Diffstat (limited to 'src/monkeysphere-host')
-rwxr-xr-xsrc/monkeysphere-host4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/monkeysphere-host b/src/monkeysphere-host
index 6216dce..1eb5849 100755
--- a/src/monkeysphere-host
+++ b/src/monkeysphere-host
@@ -19,12 +19,12 @@ set -o pipefail
PGRM=$(basename $0)
-SYSSHAREDIR=${MONKEYSPHERE_SYSSHAREDIR:-"/usr/share/monkeysphere"}
+SYSSHAREDIR=${MONKEYSPHERE_SYSSHAREDIR:-"__SYSSHAREDIR_PREFIX__/share/monkeysphere"}
export SYSSHAREDIR
. "${SYSSHAREDIR}/defaultenv"
. "${SYSSHAREDIR}/common"
-SYSDATADIR=${MONKEYSPHERE_SYSDATADIR:-"/var/lib/monkeysphere"}
+SYSDATADIR=${MONKEYSPHERE_SYSDATADIR:-"__SYSDATADIR_PREFIX__/monkeysphere"}
export SYSDATADIR
# sharedir for host functions