finish shutting up daily-build

r29026
suites/ascii
Joey Hess 20 years ago
parent bdc416411a
commit 5e0b847b59
  1. 4
      build/daily-build
  2. 2
      build/util/trim-daily-builds

@ -70,6 +70,7 @@ build () {
} }
upload () { upload () {
(
header UPLOADING FILES header UPLOADING FILES
if [ -n "$RESTRICTED_SSH" ]; then if [ -n "$RESTRICTED_SSH" ]; then
tar zcvf - -C dest/ . | $HELPER tar zcvf - -C dest/ . | $HELPER
@ -82,9 +83,11 @@ upload () {
$CALL rm -rf $BASEDIR/daily $CALL rm -rf $BASEDIR/daily
$CALL ln -sf $DIR $BASEDIR/daily $CALL ln -sf $DIR $BASEDIR/daily
fi fi
) > dest/upload.log
} }
trim () { trim () {
(
header TRIMMING OLD BUILDS header TRIMMING OLD BUILDS
if [ -n "$RESTRICTED_SSH" ]; then if [ -n "$RESTRICTED_SSH" ]; then
echo "(trim not implemented for RESTRICTED_SSH mode)" echo "(trim not implemented for RESTRICTED_SSH mode)"
@ -95,6 +98,7 @@ trim () {
else else
echo "(keeping all old builds)" echo "(keeping all old builds)"
fi fi
) > dest/trim.log
} }
UPDATED="" UPDATED=""

@ -100,4 +100,4 @@ while (@b > $num_wanted) {
splice @b, $least_int, 1; splice @b, $least_int, 1;
} }
print STDERR "kept: @b\n"; print "kept: @b\n";

Loading…
Cancel
Save