#!/bin/bash SERVER="sunrise@192.168.50.58" SDIST=$(./scripts/sdist.sh | tail -1 | sed "s/Created //") scp -r ${SDIST} $SERVER:/tmp ssh $SERVER << EOF mkdir -p voix_exint && cd voix_exint tar -xzf /tmp/$(basename ${SDIST}) ./mak $@ rm -rf src/ include/ tests/ build/ EOF rm -rf ./lib/x3/ scp -r $SERVER:voix_exint/lib/ ./lib/x3/