Magellan Linux

Diff of /trunk/pkgtools/svn-tag.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3110 by niro, Tue May 31 17:44:01 2011 UTC revision 3111 by niro, Fri Mar 15 11:25:59 2019 UTC
# Line 15  MESSAGE="$2" Line 15  MESSAGE="$2"
15  [[ -z ${TAG} ]] && usage  [[ -z ${TAG} ]] && usage
16  [[ -z ${Message} ]] && MESSAGE="tagged '${TAG}'"  [[ -z ${Message} ]] && MESSAGE="tagged '${TAG}'"
17    
18  URI="$(svn info | grep 'URL:' | cut -d' ' -f2)"  URI="$(svn info | grep '^URL:' | cut -d' ' -f2)"
19  [[ $? -ne 0 ]] && usage  [[ $? -ne 0 ]] && usage
20  REPO_ROOT="$(svn info | grep 'Repository Root:' | cut -d' ' -f3)"  REPO_ROOT="$(svn info | grep 'Repository Root:' | cut -d' ' -f3)"
21  [[ $? -ne 0 ]] && usage  [[ $? -ne 0 ]] && usage

Legend:
Removed from v.3110  
changed lines
  Added in v.3111