Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
8c726579
Commit
8c726579
authored
Oct 21, 2019
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lock-and-run.sh: Tweak command order.
From-SVN: r277279
parent
678a1e99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
gcc/lock-and-run.sh
+2
-1
No files found.
gcc/lock-and-run.sh
View file @
8c726579
...
@@ -12,8 +12,9 @@ count=0
...
@@ -12,8 +12,9 @@ count=0
err
()
{
err
()
{
if
test
-f
$lockdir
/lock-
$1
.
$$
;
then
if
test
-f
$lockdir
/lock-
$1
.
$$
;
then
echo
"
$self
: *** (PID
$$
) removing stale
$lockdir
"
>
&2
rm
-rf
$lockdir
rm
-rf
$lockdir
echo
"
$self
: *** (PID
$$
) removed stale
$lockdir
"
>
&2
# Possible variant for uses where races are more problematic:
# Possible variant for uses where races are more problematic:
#echo "$self: *** (PID $$) giving up, maybe rm -r $lockdir" >&2
#echo "$self: *** (PID $$) giving up, maybe rm -r $lockdir" >&2
#exit 42
#exit 42
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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