source: roaraudio/tools/send-roaraudio @ 1414:5431b63c0772

Last change on this file since 1414:5431b63c0772 was 1414:5431b63c0772, checked in by phi, 15 years ago

started a tool to send RoarAudio to remote machien and build

  • Property exe set to *
File size: 324 bytes
Line 
1#!/bin/sh
2
3REMOTEHOST=''
4REMOTEDIR='.'
5
6while [ "$1" != '' ]
7do
8 case "$1" in
9  *)
10    REMOTEHOST="$1"
11  ;;
12 esac
13 shift
14done
15
16LOCALDIR="sra-@$REMOTEHOST"
17
18mkdir $LOCALDIR
19
20{
21} > $LOCALDIR/setup
22chmod +rx $LOCALDIR/setup
23
24tar -czf - $LOCALDIR | ssh $REMOTEHOST "cd $REMOTEDIR && tar -xvzf - && cd $LOCALDIR && ./setup"
25
26#ll
Note: See TracBrowser for help on using the repository browser.