Skip to content

Commit bc41077

Browse files
committed
ccache-cleanlock.sh: comment CLEANHOST usage
1 parent 3012444 commit bc41077

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ccache-cleanlock.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# a check that they are not referenced by a still-running process, if executed
1212
# from the builder host.
1313
#
14-
# (C) 2015-2020 by Jim Klimov
14+
# (C) 2015-2021 by Jim Klimov
1515
#
1616

1717
set -o pipefail
@@ -25,6 +25,8 @@ export TZ LANG LC_ALL
2525
# Complain (exit 42) in listing if we see lock files older than this (sec):
2626
TOO_OLD=120
2727

28+
# Hint: for a massive cleanup, can set CLEANHOST=. or another regex to match
29+
# In worst cases, try: find . -name 'stats.lock*' -type l -exec rm -f '{}' \;
2830
[ -n "${CHECKPROC-}" ] || CHECKPROC=true
2931
[ -n "${CLEANHOST-}" ] && CHECKPROC=false && { if [ "${CLEANHOST}" = "`hostname`" ] ; then CHECKPROC=true ; fi; } || CLEANHOST="`hostname`"
3032

0 commit comments

Comments
 (0)