projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
678a1e9
)
* lock-and-run.sh: Tweak command order.
author
Jason Merrill
<jason@gcc.gnu.org>
Tue, 22 Oct 2019 03:30:48 +0000
(23:30 -0400)
committer
Jason Merrill
<jason@gcc.gnu.org>
Tue, 22 Oct 2019 03:30:48 +0000
(23:30 -0400)
From-SVN: r277279
gcc/lock-and-run.sh
patch
|
blob
|
history
diff --git
a/gcc/lock-and-run.sh
b/gcc/lock-and-run.sh
index 22bc436565cc0dee76202a3248cdc3ad253642a1..a1360adab52d847d9f211c3bff59811c760c72d6 100644
(file)
--- a/
gcc/lock-and-run.sh
+++ b/
gcc/lock-and-run.sh
@@
-12,8
+12,9
@@
count=0
err () {
if test -f $lockdir/lock-$1.$$; then
- echo "$self: *** (PID $$) removing stale $lockdir" >&2
rm -rf $lockdir
+ echo "$self: *** (PID $$) removed stale $lockdir" >&2
+
# Possible variant for uses where races are more problematic:
#echo "$self: *** (PID $$) giving up, maybe rm -r $lockdir" >&2
#exit 42