Magellan Linux

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

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

revision 793 by niro, Sat Jan 31 16:18:48 2009 UTC revision 794 by niro, Sat Jan 31 16:22:34 2009 UTC
# Line 7  rev_keyword="busybox-init" Line 7  rev_keyword="busybox-init"
7  tarball_prefix="${svn_module}"  tarball_prefix="${svn_module}"
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/${svn_module}/"
9    
10  latest_revision=$(svn ls --verbose ${svn_base_uri}/tags | grep ${rev_keyword} | sed -e 's:/::' |  awk '{ print $6; exit; }')  latest_revision=$(svn ls --verbose ${svn_base_uri}/tags | grep ${rev_keyword} | sort -n | 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')
12    
13  echo -n "building tarball for ${latest_version}... "  echo -n "building tarball for ${latest_version}... "

Legend:
Removed from v.793  
changed lines
  Added in v.794