summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/installmisc.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh
index 580dc855d4..dab1b527ca 100755
--- a/source4/script/installmisc.sh
+++ b/source4/script/installmisc.sh
@@ -1,8 +1,9 @@
#!/bin/sh
# install miscellaneous files
-SRCDIR=$1
-LIBDIR=$2
+SRCDIR="$1"
+LIBDIR="$2"
+BINDIR="$3"
cd $SRCDIR || exit 1
@@ -16,4 +17,9 @@ cp setup/*.ldif $LIBDIR/setup || exit 1
cp setup/*.zone $LIBDIR/setup || exit 1
cp setup/*.conf $LIBDIR/setup || exit 1
+echo "Installing script tools"
+mkdir -p "$BINDIR"
+rm -f scripting/bin/*~
+cp scripting/bin/* $BINDIR/ || exit 1
+
exit 0