summaryrefslogtreecommitdiff
path: root/regress/simulation
diff options
context:
space:
mode:
authorfukachan <fukachan>2011-08-24 02:28:54 +0000
committerfukachan <fukachan>2011-08-24 02:28:54 +0000
commitf47a89c5027f19a0b1e1daebf6e49205f5de36fe (patch)
treefb5478b45c34965d5a549616db1e3fe908327525 /regress/simulation
parent584d623681f6957f89819c13ab82fe99a92cf20e (diff)
downloadfml8-f47a89c5027f19a0b1e1daebf6e49205f5de36fe.tar.gz
fml8-f47a89c5027f19a0b1e1daebf6e49205f5de36fe.tar.bz2
fml8-f47a89c5027f19a0b1e1daebf6e49205f5de36fe.zip
prefer FML_EMUL_* environmental variables if specified.
make spool_dir configurable.
Diffstat (limited to 'regress/simulation')
-rwxr-xr-xregress/simulation/install.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/regress/simulation/install.sh b/regress/simulation/install.sh
index 7da13eb5..7747f06b 100755
--- a/regress/simulation/install.sh
+++ b/regress/simulation/install.sh
@@ -1,10 +1,11 @@
#!/bin/sh
#
-# $FML: install.sh,v 1.17 2004/12/08 06:43:08 fukachan Exp $
+# $FML: install.sh,v 1.18 2005/05/27 04:41:13 fukachan Exp $
#
-prefix=/usr/local
-conf_dir=$prefix/etc
+prefix=${FML_EMUL_PREFIX:-/usr/local}
+conf_dir=${FML_EMUL_CONF_DIR:-$prefix/etc}
+spool_dir=${FML_EMUL_SPOOL_DIR:-/var/spool/ml}
if [ ! -f .this_is_a_test_machine ];then
echo "touch .this_is_a_test_machine here if you use this script"
@@ -15,6 +16,7 @@ fi
rm -f config.log config.cache ;\
./configure \
--prefix=$prefix \
+ --with-mlspooldir=$spool_dir \
--with-warning \
--with-fmlconfdir=$conf_dir/fml \
--with-fml-owner=fukachan \
@@ -22,6 +24,10 @@ fi
--with-group-writable-ml-home-prefix-map \
)
+echo ""
+printenv | grep FML_EMUL_ | awk '{print "\t", $0}'
+echo ""
+
# config.cf
sudo -v