Magellan Linux

Diff of /trunk/magellan-initscripts/make-tarball.sh

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

revision 851 by niro, Sat Jan 31 16:27:32 2009 UTC revision 852 by niro, Mon May 4 20:00:26 2009 UTC
# Line 5  svn_base_uri="svn://cvs.magellan-linux.d Line 5  svn_base_uri="svn://cvs.magellan-linux.d
5  svn_module="magellan-initscripts"  svn_module="magellan-initscripts"
6  rev_keyword="init"  rev_keyword="init"
7  tarball_prefix="initscripts"  tarball_prefix="initscripts"
8  destination="root@cvs.magellan-linux.de:/var/www/htdocs/magellan/magellan-dev/sources/${svn_module}/"  destination="root@cvs.magellan-linux.de:/var/www/htdocs/magellan/magellan-dev/sources/${tarball_prefix}/"
9    
10  latest_revision=$(svn ls --verbose ${svn_base_uri}/tags | grep ${rev_keyword} | sort -nr | sed -e 's:/::' |  awk '{ print $6; exit; }')  latest_revision=$(svn ls --verbose ${svn_base_uri}/tags | grep ${rev_keyword} | sort -nr | sed -e 's:/::' |  awk '{ print $6; exit; }')
11  latest_version=$(echo ${latest_revision} | sed -e "s:${rev_keyword}-::" -e 's:_:.:g')  latest_version=$(echo ${latest_revision} | sed -e "s:${rev_keyword}-::" -e 's:_:.:g')

Legend:
Removed from v.851  
changed lines
  Added in v.852