From c09c56fcd869b445c2e4f78639346dbdda6d6348 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Fri, 7 Dec 2007 14:02:58 +0000 Subject: [PATCH] new file --- lrde-upload.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 lrde-upload.sh diff --git a/lrde-upload.sh b/lrde-upload.sh new file mode 100755 index 000000000..b51f73fee --- /dev/null +++ b/lrde-upload.sh @@ -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