Force anonymous svn also during updates

This commit is contained in:
BtbN 2024-12-31 16:37:00 +01:00
parent 7abce16f6a
commit af3815c4db

View File

@ -40,7 +40,7 @@ echo "Processing ${scr}"
if [[ -n "${CUR_REV}" ]]; then # SVN if [[ -n "${CUR_REV}" ]]; then # SVN
echo "Checking svn rev for ${CUR_REPO}..." echo "Checking svn rev for ${CUR_REPO}..."
NEW_REV="$(svn info --password="" "${CUR_REPO}" | grep ^Revision: | cut -d" " -f2 | xargs)" NEW_REV="$(svn --non-interactive info --username "anonymous" --password="" "${CUR_REPO}" | grep ^Revision: | cut -d" " -f2 | xargs)"
echo "Got ${NEW_REV} (current: ${CUR_REV})" echo "Got ${NEW_REV} (current: ${CUR_REV})"
if [[ "${NEW_REV}" != "${CUR_REV}" ]]; then if [[ "${NEW_REV}" != "${CUR_REV}" ]]; then