nsbin/pre_release

14 lines
242 B
Text
Raw Normal View History

2006-07-20 07:54:37 +00:00
#!/bin/sh
file=$1
host=creme.schottelius.org
dir=public_html/pre-release/
url="http://schotteli.us/~nico/pre-release"
[ -z "$file" ] && exit 1
scp "$file" "${host}:$dir"
ssh $host "chmod a+r $dir/$file"
echo "Pre-released ${url}/${file}"