# # Common functions for the build_* and tag_* scripts # check_svn_parameters() { if [ -z "$SVN_URL" ] ; then $BIN_ECHO "-> The environment variable SVN_URL is not defined or empty (sample: 'http://novaforge.bull.net/svn/novaforge-v1')" EXIT=1 fi if [ -z "$SVN_USER" ] ; then $BIN_ECHO "-> The environment variable SVN_USER is not defined or empty" EXIT=1 fi if [ -z "$SVN_PASS" ] ; then $BIN_ECHO "-> The environment variable SVN_PASS is not defined or empty" EXIT=1 fi }