nsbin/pre_release

14 lines
249 B
Text
Raw Normal View History

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