diff options
author | Derrell Lipman <derrell@samba.org> | 2006-10-22 02:57:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:33 -0500 |
commit | 68453d1da2ad68c1e9cb5d42eb71822ae6f0117b (patch) | |
tree | 59475927a3a005b806baa5f1d92451e9f3c61c8d /source4/script/installjsonrpc.sh | |
parent | 7653fa22d961755b1c943e1542cc96466a5cbe75 (diff) | |
download | samba-68453d1da2ad68c1e9cb5d42eb71822ae6f0117b.tar.gz samba-68453d1da2ad68c1e9cb5d42eb71822ae6f0117b.tar.bz2 samba-68453d1da2ad68c1e9cb5d42eb71822ae6f0117b.zip |
r19449: ldbbrowse: installation hopefully works now. "Developer" installations
('configure.developer' or 'configure --enable-developer') may still have
problems as I'm not sure I got all of the paths right for that.
With the changes Tridge has made to the Main Menu in swat, given a
non-developer installation, you should be able to get to ldbbrowse via:
JSON/qooxdoo -> ldb browser
Derrell
(This used to be commit 2406af10791cd8545c598c8591a48de5515c7dc5)
Diffstat (limited to 'source4/script/installjsonrpc.sh')
-rw-r--r-- | source4/script/installjsonrpc.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/source4/script/installjsonrpc.sh b/source4/script/installjsonrpc.sh new file mode 100644 index 0000000000..b91f6bf3bb --- /dev/null +++ b/source4/script/installjsonrpc.sh @@ -0,0 +1,32 @@ +#!/bin/sh + +SERVICESDIR=$1 +SRCDIR=$2 + +echo Installing JSON-RPC services in $SERVICESDIR + +cd $SRCDIR/../services || exit 1 + +mkdir -p $SERVICESDIR || exit 1 + +installdir() { + for f in $*; do + dname=`dirname $f` + echo "Installing $f in $dname" + test -d $SERVICESDIR/$dname || mkdir -p $SERVICESDIR/$dname || exit 1 + cp $f $SERVICESDIR/$dname/ || exit 1 + chmod 0644 $SERVICESDIR/$f || exit 1 + done +} + +installdir `find . -name '*.esp'` + +cat << EOF +====================================================================== +The JSON-RPC services have been installed. +====================================================================== +EOF + + +exit 0 + |