Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sneha Prasad
jenkins.debian.net
Commits
37544eb9
Commit
37544eb9
authored
Mar 04, 2019
by
Holger Levsen
Browse files
reproducible maintenance: silence harmless error
Signed-off-by:
Holger Levsen
<
holger@layer-acht.org
>
parent
5fcb5d75
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/reproducible_maintenance.sh
View file @
37544eb9
...
@@ -78,7 +78,7 @@ fi
...
@@ -78,7 +78,7 @@ fi
# delete old temp directories
# delete old temp directories
#
#
echo
"
$(
date
-u
)
- Deleting temp directories in
$REP_RESULTS
/rbuild-debian, older than 3 days."
echo
"
$(
date
-u
)
- Deleting temp directories in
$REP_RESULTS
/rbuild-debian, older than 3 days."
OLDSTUFF
=
$(
find
$REP_RESULTS
/rbuild-debian
-maxdepth
1
-type
d
-mtime
+2
-name
"tmp.*"
-exec
ls
-lad
{}
\;
||
true
)
OLDSTUFF
=
$(
find
$REP_RESULTS
/rbuild-debian
-maxdepth
1
-type
d
-mtime
+2
-name
"tmp.*"
-exec
ls
-lad
{}
\;
2>/dev/null
||
true
)
if
[
!
-z
"
$OLDSTUFF
"
]
;
then
if
[
!
-z
"
$OLDSTUFF
"
]
;
then
echo
echo
echo
"Old temp directories found in
$REP_RESULTS
/rbuild-debian"
echo
"Old temp directories found in
$REP_RESULTS
/rbuild-debian"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment