summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-01-26 05:57:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:29 -0500
commit2f8b1050e1e7b2f04b304156e9e4fa2828d23f94 (patch)
tree583347f0d1a81704266714134f6510858e475edd /source4/script
parentb2050691a751f4688098b4a747acd805e4776ba1 (diff)
downloadsamba-2f8b1050e1e7b2f04b304156e9e4fa2828d23f94.tar.gz
samba-2f8b1050e1e7b2f04b304156e9e4fa2828d23f94.tar.bz2
samba-2f8b1050e1e7b2f04b304156e9e4fa2828d23f94.zip
r13153: Try to move closer to FHS. This probably breaks everything...
Andrew Bartlett (This used to be commit 2c02a45d5a6c79ced7aea0f7e9d23fae19c2d127)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/installmisc.sh17
1 files changed, 9 insertions, 8 deletions
diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh
index dab1b527ca..2fa2f96f1d 100755
--- a/source4/script/installmisc.sh
+++ b/source4/script/installmisc.sh
@@ -2,20 +2,21 @@
# install miscellaneous files
SRCDIR="$1"
-LIBDIR="$2"
-BINDIR="$3"
+JSDIR="$2"
+SETUPDIR="$3"
+BINDIR="$4"
cd $SRCDIR || exit 1
echo "Installing js libs"
-mkdir -p $LIBDIR/js || exit 1
-cp scripting/libjs/*.js $LIBDIR/js || exit 1
+mkdir -p $JSDIR || exit 1
+cp scripting/libjs/*.js $JSDIR/js || exit 1
echo "Installing setup templates"
-mkdir -p $LIBDIR/setup || exit 1
-cp setup/*.ldif $LIBDIR/setup || exit 1
-cp setup/*.zone $LIBDIR/setup || exit 1
-cp setup/*.conf $LIBDIR/setup || exit 1
+mkdir -p $SETUPDIR || exit 1
+cp setup/*.ldif $SETUPDIR || exit 1
+cp setup/*.zone $SETUPDIR || exit 1
+cp setup/*.conf $SETUPDIR || exit 1
echo "Installing script tools"
mkdir -p "$BINDIR"