Magellan Linux

Diff of /alx-src/tags/alxconf-0_6_0-rc1/make-tarball.sh

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

alx-src/branches/alxconf-060/make-tarball.sh revision 1800 by niro, Thu Apr 14 19:29:35 2011 UTC alx-src/tags/alxconf-0_6_0-rc1/make-tarball.sh revision 2173 by niro, Wed May 18 21:48:06 2011 UTC
# Line 4  temp=$(mktemp -d) Line 4  temp=$(mktemp -d)
4  svn_base_uri="svn://cvs.magellan-linux.de/alx/alx-src"  svn_base_uri="svn://cvs.magellan-linux.de/alx/alx-src"
5  svn_module="alxconf"  svn_module="alxconf"
6  rev_keyword="${svn_module}"  rev_keyword="${svn_module}"
7  branch="_20060908" # stick on 20060908 branch  branch="" # stick on latest branch
8  tarball_prefix="alxconfig-ng"  tarball_prefix="alxconfig-ng"
9  destination="root@cvs.magellan-linux.de:/var/www/htdocs/magellan/magellan-dev/sources/${tarball_prefix}/"  destination="root@cvs.magellan-linux.de:/var/www/htdocs/magellan/magellan-dev/sources/${tarball_prefix}/"
10    
11  latest_revision=$(svn ls --verbose ${svn_base_uri}/tags | grep ${rev_keyword}${branch} | sort -nr | sed -e 's:/::' |  awk '{ print $6; exit; }')  latest_revision=$(svn ls --verbose ${svn_base_uri}/tags | grep ${rev_keyword}${branch} | sort -nr | sed -e 's:/::' |  awk '{ print $6; exit; }')
12  latest_version=$(echo ${latest_revision} | sed -e "s:${rev_keyword}_::" -e 's:_:-r:g')  latest_version=$(echo ${latest_revision} | sed -e "s:${rev_keyword}_::" -e 's:_:.:g')
13    
14  echo -n "building tarball for ${latest_version}... "  echo -n "building tarball for ${latest_version}... "
15  cd ${temp}  cd ${temp}

Legend:
Removed from v.1800  
changed lines
  Added in v.2173