3 if [ -f ${1}/.version
]; then
6 PARTS
=`LANG=C svn info ${1} | grep URL | awk '{print $2;}' | sed -e 's:^.*/svn/asterisk/::' | sed -e 's:/: :g'`
11 REV
=`svnversion -c ${1} | cut -d: -f2`
13 if [ "${PARTS}" = "trunk" ]
15 echo SVN-
'trunk'-r${REV}
29 RESULT
="${RESULT}-${PART}"
35 RESULT
="${RESULT}-${PART}"
39 if [ "${PART}" = "branches" ]
46 if [ "${PART}" = "tags" ]
52 if [ "${PART}" = "team" ]
63 echo SVN-
${RESULT##-}-r${REV}