We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 204afb7 commit 5220af5Copy full SHA for 5220af5
wwwclean.sh
@@ -9,14 +9,14 @@
9
KEEP_N_DAYS=14
10
11
# Directory that snapshot builds are kept in.
12
-SNAPSHOT_DIR=/var/www/buildbot/snapshots/
+SNAPSHOT_DIR=/.0/frs/snapshots/
13
14
# Iterate across snapshot directories, removing older builds..
15
# BUT skipping removal if they are the only remaining build.
16
for snapsubdir in `find ${SNAPSHOT_DIR} -type d`; do
17
if [ ${snapsubdir} != ${SNAPSHOT_DIR} ]; then
18
# If number of builds determined by native build name
19
- # is greater than 2, remove older ones ie. Just current and symlink
+ # is greater than 2, remove older ones ie. Just current and symlink
20
# will be left
21
NATIVE_BUILD="debian-x86-`basename ${snapsubdir}`"
22
NUM_OF_BUILDS=`find ${snapsubdir}/${NATIVE_BUILD}-* | wc -l`
0 commit comments