Changeset 5555:e2230ec286e8 in roaraudio


Ignore:
Timestamp:
07/10/12 19:19:22 (5 years ago)
Author:
phi
Branch:
default
Message:

Update to allow sending other packages as well.
This is useful to test packages closely related to this like rpld.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/send-roaraudio

    r3946 r5555  
    99PORT='' 
    1010REV='HEAD' 
     11PACKAGE='roaraudio' 
    1112 
    1213SSH_OPTS='' 
     
    2627    --port=PORT                   - Set port of remote site 
    2728    --rev=REVISION                - Set the revision (or tag) to send 
     29    --package=PACKAGE             - Set package to export (default: roaraudio) 
    2830HELP 
    2931   exit 0; 
     
    4648  '--rev='*) 
    4749   REV=`echo $1 | cut -d= -f2` 
     50  ;; 
     51  '--package='*) 
     52   PACKAGE=`echo $1 | cut -d= -f2` 
    4853  ;; 
    4954  *) 
     
    6974 
    7075cd $LOCALDIR 
    71 cvs co -r $REV roaraudio 
     76cvs co -r $REV $PACKAGE 
    7277cd .. 
    7378 
     
    7883 echo 'MAKE=`which gmake make 2> /dev/null | grep ^/ | head -n 1`' 
    7984 
    80  echo 'cd roaraudio' 
     85 echo 'cd $PACKAGE' 
    8186 
    8287 $CONFIGURE && echo './configure || exit 1' 
     
    8994chmod +rx $LOCALDIR/setup 
    9095 
    91 tar -czf - $LOCALDIR | ssh $SSH_OPTS "cd $REMOTEDIR && rm -rf $LOCALDIR && gunzip | tar -xvf - && cd $LOCALDIR && ./setup" 
     96tar -czf - $LOCALDIR | ssh $SSH_OPTS "cd $REMOTEDIR && rm -rf $LOCALDIR/$PACKAGE && gunzip | tar -xvf - && cd $LOCALDIR && ./setup" 
    9297 
    9398rm -rf $LOCALDIR 
Note: See TracChangeset for help on using the changeset viewer.