Two changes in subversion/svn_dev.sh:
- Rename WC to SVN_WC (it's a bit more unique)
- Check if SVN_WC was defined before svn_dev.sh was sourced.
Brane
--
Branko Čibej <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49 fax: (+386 1) 586 52 70
Index: svn-dev.sh
===================================================================
RCS file: /cvs/subversion/subversion/svn-dev.sh,v
retrieving revision 1.4
diff -u -r1.4 svn-dev.sh
--- svn-dev.sh 2000/08/08 18:14:51 1.4
+++ svn-dev.sh 2000/08/08 23:13:47
@@ -7,15 +7,15 @@
echo ""
if [ -d ${HOME}/projects/subversion ]; then
- WC=${HOME}/projects/subversion
+ SVN_WC=${HOME}/projects/subversion
elif [ -d ${HOME}/src/subversion ]; then
- WC=${HOME}/src/subversion
-else
+ SVN_WC=${HOME}/src/subversion
+elif [ "x$SVN_WC" = "x" ]
echo "I need to know where your working copy is."
echo "Please modify me accordingly (subversion/subversion/svn-dev.sh)."
exit 1
fi
-LD_LIBRARY_PATH=.:${WC}/subversion/libsvn_string:${WC}/subversion/libsvn_subr:${WC}/subversion/libsvn_delta:${WC}/subversion/libsvn_wc:${WC}/subversion/apr:${LD_LIBRARY_PATH}
+LD_LIBRARY_PATH=.:${SVN_WC}/subversion/libsvn_string:${SVN_WC}/subversion/libsvn_subr:${SVN_WC}/subversion/libsvn_delta:${SVN_WC}/subversion/libsvn_wc:${SVN_WC}/subversion/apr:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
Received on Sat Oct 21 14:36:06 2006