Explorar el Código

Remove *_latest* rather than move


git-svn-id: http://svn.dmdirc.com/trunk@3084 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6
Shane Mc Cormack hace 16 años
padre
commit
42f4609900
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      BuildAll.sh

+ 1
- 1
BuildAll.sh Ver fichero

@@ -42,7 +42,7 @@ if [ `date +%d` = "01" ]; then
42 42
 	mkdir -p ${OLDDIR}
43 43
 	mv -fv ${WWWDIR}/nightly/*_`date -d yesterday +%Y%m`??_* ${OLDDIR}
44 44
 	mv -fv ${WWWDIR}/nightly/*-`date -d yesterday +%Y%m`??_* ${OLDDIR}
45
-	mv -fv ${WWWDIR}/nightly/*_latest* ${OLDDIR}
45
+	rm -Rf ${WWWDIR}/nightly/*_latest*
46 46
 fi
47 47
 
48 48
 # The date/svn prefix to add to the end of the file names of stuff

Loading…
Cancelar
Guardar