Skip to content

Commit 5220af5

Browse files
committed
BUILDBOT: Update clean script to use new location
1 parent 204afb7 commit 5220af5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wwwclean.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
KEEP_N_DAYS=14
1010

1111
# Directory that snapshot builds are kept in.
12-
SNAPSHOT_DIR=/var/www/buildbot/snapshots/
12+
SNAPSHOT_DIR=/.0/frs/snapshots/
1313

1414
# Iterate across snapshot directories, removing older builds..
1515
# BUT skipping removal if they are the only remaining build.
1616
for snapsubdir in `find ${SNAPSHOT_DIR} -type d`; do
1717
if [ ${snapsubdir} != ${SNAPSHOT_DIR} ]; then
1818
# If number of builds determined by native build name
19-
# is greater than 2, remove older ones ie. Just current and symlink
19+
# is greater than 2, remove older ones ie. Just current and symlink
2020
# will be left
2121
NATIVE_BUILD="debian-x86-`basename ${snapsubdir}`"
2222
NUM_OF_BUILDS=`find ${snapsubdir}/${NATIVE_BUILD}-* | wc -l`

0 commit comments

Comments
 (0)