Skip to contentSkip to conversation

cr-for-branches: clean up tmp/

PATCH In review Ian Jackson 2 participants 3 messages Jun 25, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cr-for-branches: clean up tmp/

---
 cr-for-branches |    2 ++
 1 file changed, 2 insertions(+)
cr-for-branches +2 -0
index 5ed0a17..13611fa 100755
@@ -91,6 +91,8 @@ for branch in $BRANCHES; do
 
 		log ...
 
+		find tmp -type f -mtime +60 -print0 | xargs -0r echo rm -f --
+
 		git fetch $OSSTEST_TEST_PULLFROM master:incoming 2>&1 ||:
 		git fetch $OSSTEST_TEST_PULLFROM incoming:incoming 2>&1 ||:
 		git pull --no-commit . incoming:master 2>&1 ||:
Signature · 1 line
1.7.10.4
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Ian Jackson
---
 cr-for-branches |    2 ++
 1 file changed, 2 insertions(+)
cr-for-branches +0 -0
index 5ed0a17..13611fa 100755

cr-for-branches for branch in $BRANCHES; do · line 94

Quoted 4 lines
cr-for-branches +1 -0
@@ -91,6 +91,8 @@ for branch in $BRANCHES; do
 
 		log ...
 
+		find tmp -type f -mtime +60 -print0 | xargs -0r echo rm -f --

Was the echo here a debug left over? If yes then with it removed:

Ian.

#2 lore raw

Ian Campbell writes ("Re: [OSSTEST PATCH] cr-for-branches: clean up tmp/"):

Quoted 4 lines · Ian Jackson

cr-for-branches for branch in $BRANCHES; do · line 94

Quoted 1 line
cr-for-branches +1 -0
+		find tmp -type f -mtime +60 -print0 | xargs -0r echo rm -f --

Was the echo here a debug left over? If yes then with it removed:

Well spotted. I totally left that in there deliberately :-).

Thanks,
Ian.