1#!/bin/bash 2 3files="index.html 4../main.c 5../samples/sonic.wav 6../samples/soundstretch.wav" 7 8markdown_py index.md > index.html 9if [ -f ../version ]; then 10 version=`awk '{print $1}' ../version` 11 sourceTarball=../../$version.orig.tar.gz 12 if [ -f $sourceTarball ]; then 13 destTarball=$version.tar.gz 14 scp $sourceTarball root@dev.vinux-project.org:/var/www/dev.vinux-project.org/sonic/download/$destTarball 15 fi 16fi 17scp $files root@dev.vinux-project.org:/var/www/dev.vinux-project.org/sonic 18rm ../samples/*.wav index.html 19