[or-cvs] r11391: Trip up svnversion result so it doesn't exceed the ISO CD vo (incognito/trunk)
double at seul.org
double at seul.org
Thu Sep 6 18:04:58 UTC 2007
Author: double
Date: 2007-09-06 14:04:58 -0400 (Thu, 06 Sep 2007)
New Revision: 11391
Modified:
incognito/trunk/livecd-stage2.sh
Log:
Trip up svnversion result so it doesn't exceed the ISO CD volumen length.
Modified: incognito/trunk/livecd-stage2.sh
===================================================================
--- incognito/trunk/livecd-stage2.sh 2007-09-06 18:04:28 UTC (rev 11390)
+++ incognito/trunk/livecd-stage2.sh 2007-09-06 18:04:58 UTC (rev 11391)
@@ -47,13 +47,13 @@
# Add revision
SVN_URL="$(svn info --xml 2>/dev/null | grep url | sed 's/<url>\(.*\)<\/url>/\1/')"
-grep trunk >/dev/null <<EOF && INCOGNITO_VERSION="trunk" && INCOGNITO_TITLE="${INCOGNITO_TITLE} r$(svnversion)"
+grep trunk >/dev/null <<EOF && INCOGNITO_VERSION="trunk" && INCOGNITO_TITLE="${INCOGNITO_TITLE} r$(svnversion | cut -d ":" -f 2)"
${SVN_URL}
EOF
grep tags >/dev/null <<EOF && INCOGNITO_VERSION="$(basename ${SVN_URL})" && INCOGNITO_TITLE="${INCOGNITO_TITLE} ${INCOGNITO_VERSION}"
${SVN_URL}
EOF
-grep branches >/dev/null <<EOF && INCOGNITO_VERSION="$(basename ${SVN_URL})" && INCOGNITO_TITLE="${INCOGNITO_TITLE} ${INCOGNITO_VERSION} r$(svnversion)"
+grep branches >/dev/null <<EOF && INCOGNITO_VERSION="$(basename ${SVN_URL})" && INCOGNITO_TITLE="${INCOGNITO_TITLE} ${INCOGNITO_VERSION} r$(svnversion | cut -d ":" -f 2)"
${SVN_URL}
EOF
More information about the tor-commits
mailing list