[imp] Patch to horde-rsync.sh
Alexander Skwar
ASkwar@DigitalProjects.com
Mon, 17 Sep 2001 15:33:32 +0200
---------------------- multipart/mixed attachment
So sprach =BBAlexander 'Digital Projects' Skwar=AB am 2001-09-17 um 15:22:1=
4 +0200 :
> a) CVSROOT and HORDE_DIR now depend on a new setting: BASEDIR. BASEDIR
> defines which directory contains both of CVSROOT and HORDE_DIR
Another patch - again to the original 2.8 version of horde-rsync.sh.
This patch makes sure that the CVSROOT and HORDE_DIR directories
actually exist.
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 56 minutes
---------------------- multipart/mixed attachment
--- /home/askwar/horde-rsync.sh Mon Sep 17 15:18:09 2001
+++ horde-rsync.sh Mon Sep 17 15:31:39 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,15 @@
# 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 ]-
+
+# Make sure that the CVSROOT and HORDE_DIR directories exist
+mkdir -p "$CVSROOT" "$HORDE_DIR"
+
+# Build the comma modules list
+COMMA_MODULES=$(echo "$MODULE_LIST" | tr ' ' ',')
MYNAME=`basename $0`
---------------------- multipart/mixed attachment--