Patch to horde-rsync.sh
Alexander Skwar
ASkwar@DigitalProjects.com
Mon, 17 Sep 2001 15:22:14 +0200
---------------------- multipart/mixed attachment
Hi.
Attached is a small patch to the horde-rsync.sh script. It introduces
two changes:
a) CVSROOT and HORDE_DIR now depend on a new setting: BASEDIR. BASEDIR
defines which directory contains both of CVSROOT and HORDE_DIR
b) The user no longer needs to take care to setup COMMA_MODULES by
himself. COMMA_MODULES is created from MODULE_LIST.
Alexander Skwar
--=20
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de - Die g=FCnstige Art an Linux Distributionen zu kommen
Uptime: 4 days 7 hours 42 minutes
---------------------- multipart/mixed attachment
--- /home/askwar/horde-rsync.sh Mon Sep 17 15:18:09 2001
+++ horde-rsync.sh Mon Sep 17 15:17:50 2001
@@ -6,11 +6,14 @@
#
# [ Edit the following values to suit your local environment ]
+# The path to the basedirectory for your horde checkout
+export BASEDIR="/home/username/horde"
+
# The path to your CVSROOT:
-export CVSROOT="/home/username/rync/RSYNC"
+export CVSROOT="${BASEDIR}/rsync"
# The path in which to put the retrieved Horde files:
-export HORDE_DIR="/home/username/rsync/horde"
+export HORDE_DIR="${BASEDIR}/cvs"
# The absolute path to your rsync binary:
export RSYNC="/usr/bin/rsync"
@@ -20,10 +23,12 @@
# The modules which you'd like to retrieve:
export MODULE_LIST="imp kronolith turba jonah babel"
-export COMMA_MODULES="imp,kronolith,turba,jonah,babel"
# -[ NOTHING ELSE SHOULD NEED TO BE EDITED BELOW THIS LINE ]-
+
+# Build the comma modules list
+COMMA_MODULES=$(echo "$MODULE_LIST" | tr ' ' ',')
MYNAME=`basename $0`
---------------------- multipart/mixed attachment--