thomas: server cvs-kolab.sh,1.7,1.8
cvs at kolab.org
cvs at kolab.org
Thu Sep 13 12:05:07 CEST 2007
Author: thomas
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv2295
Modified Files:
cvs-kolab.sh
Log Message:
cvs-kolab.sh: Use "su - ..." to update $PATH etc. (see kolab/issue1977)
Index: cvs-kolab.sh
===================================================================
RCS file: /kolabrepository/server/cvs-kolab.sh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- cvs-kolab.sh 13 Sep 2007 10:01:11 -0000 1.7
+++ cvs-kolab.sh 13 Sep 2007 10:05:05 -0000 1.8
@@ -86,7 +86,7 @@
cvs -q update -P -d
fi
chown -R "${KOLAB_DEV_USER}:" "/${KOLAB_DEV_USER}/CVS"
- su "${KOLAB_DEV_USER}" -c make || die "Not installing! Looks like the Kolab developers broke CVS. Bug them at https://www.intevation.de/roundup/kolab"
+ su - "${KOLAB_DEV_USER}" -c "cd `pwd` && make" || die "Not installing! Looks like the Kolab developers broke CVS. Bug them at https://www.intevation.de/roundup/kolab"
cd "${KOLAB_PACKAGES}/source-original"
if [ ! -e "${KOLAB_PACKAGES}/binary-${KOLAB_DEV_USER}" ]; then
@@ -125,7 +125,7 @@
cd "/${KOLAB_DEV_USER}/CVS/server"
cvs -q update -P -d
chown -R "${KOLAB_DEV_USER}:" "/${KOLAB_DEV_USER}/CVS"
- su "${KOLAB_DEV_USER}" -c make || die "Not updating! Looks like the Kolab developers broke CVS. Bug them at https://www.intevation.de/roundup/kolab"
+ su - "${KOLAB_DEV_USER}" -c "cd `pwd` && make" || die "Not updating! Looks like the Kolab developers broke CVS. Bug them at https://www.intevation.de/roundup/kolab"
cd "${KOLAB_PACKAGES}/source-original"
./install-kolab.sh -S -t "${KOLAB_DEV_USER}"
rsync -avz "/${KOLAB_DEV_USER}/RPM/SDIST/" "${KOLAB_PACKAGES}/source-${KOLAB_DEV_USER}/"
More information about the commits
mailing list