Skip to content

Commit

Permalink
Updated path (this is not very portable...)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Luc Paour committed Nov 2, 2003
1 parent c7b85dc commit 31cc2c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Expand Up @@ -5,7 +5,7 @@ cvs -q update -d;
version=`grep version= defaults.properties | awk -F= '{print $2}'`;
echo $version;

rm /var/www/html/gr-staging/*
cp gallery_remote.zip /var/www/html/gr-staging/gallery_remote_$version.zip
rm /home/httpd/htdocs/gr-staging/*
cp gallery_remote.zip /home/httpd/htdocs/gr-staging/gallery_remote_$version.zip

lynx -dump -head http://jpmullan.com/galleryupdates/remote/gallery_remote_$version.zip | grep "HTTP/1.1 404" && scp gallery_remote.zip paour@jpmullan.com:remote/gallery_remote_$version.zip && . ant post

0 comments on commit 31cc2c5

Please sign in to comment.