Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Webtools Releng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
webtools
Releng
Webtools Releng
Commits
84b68953
Commit
84b68953
authored
16 years ago
by
david_williams
Browse files
Options
Downloads
Patches
Plain Diff
improve scripts that are deleting patches/index.php
parent
8a121729
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
releng.control/cleanupArtifacts.sh
+1
-1
1 addition, 1 deletion
releng.control/cleanupArtifacts.sh
with
1 addition
and
1 deletion
releng.control/cleanupArtifacts.sh
+
1
−
1
View file @
84b68953
...
@@ -32,7 +32,7 @@ echo " number of directories before cleaning: ${before}";
...
@@ -32,7 +32,7 @@ echo " number of directories before cleaning: ${before}";
# empty directories often result from "bad builds". We remove those no matter how old
# empty directories often result from "bad builds". We remove those no matter how old
find
${
artifactsDir
}
-mindepth
2
-maxdepth
3
-type
d
-empty
-exec
rm
-fr
'{}'
\;
find
${
artifactsDir
}
-mindepth
2
-maxdepth
3
-type
d
-empty
-exec
rm
-fr
'{}'
\;
# now remove old ones
# now remove old ones
find
${
artifactsDir
}
-mindepth
2
-maxdepth
2
-ctime
+
$ndays
-execdir
${
RELENG_CONTROL
}
/removeIf.sh
'{}'
\;
find
${
artifactsDir
}
-mindepth
2
-maxdepth
2
-type
d
-ctime
+
$ndays
-execdir
${
RELENG_CONTROL
}
/removeIf.sh
'{}'
\;
after
=
`
find
${
artifactsDir
}
-mindepth
2
-maxdepth
2 |
wc
-l
`
;
after
=
`
find
${
artifactsDir
}
-mindepth
2
-maxdepth
2 |
wc
-l
`
;
echo
" number of directories after cleaning:
${
after
}
"
;
echo
" number of directories after cleaning:
${
after
}
"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment