This commit is contained in:
Alexandre Duret-Lutz 2007-12-07 14:02:58 +00:00
parent 87c700feb2
commit c09c56fcd8

13
lrde-upload.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
# This file is run by the LRDE autobuilder after a successful compilation.
# It is not meant to be distributed with Spot.
set -e
set -x
rm -rf /lrde/dload/spot/spot-snapshot.tmp
cp -pR doc/spot.html /lrde/dload/spot/spot-snapshot.tmp
mv -p spot-*.tar.gz /lrde/dload/spot/spot-snapshot.tar.gz
rm -rf /lrde/dload/spot/spot-snapshot.html
mv /lrde/dload/spot/spot-snapshot.tmp /lrde/dload/spot/spot-snapshot.html