1 #!/bin/bash 2 3 files="index.html 4 ../main.c 5 ../samples/sonic.wav 6 ../samples/soundstretch.wav" 7 8 markdown_py index.md > index.html 9 if [ -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 16 fi 17 scp $files root@dev.vinux-project.org:/var/www/dev.vinux-project.org/sonic 18 rm ../samples/*.wav index.html 19