Skip to content

Commit

Permalink
Merge branch 'sage_bootstrap_pipes' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Aug 17, 2024
2 parents 7bd19c5 + 4c11bfb commit dcb995b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/sage_bootstrap/flock.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

import fcntl
import os
import pipes
import shlex
import sys
import argparse

Expand Down Expand Up @@ -105,7 +105,7 @@ def run(argv=None):
kind = "exclusive"

sys.stderr.write("Waiting for {0} lock to run {1} ... ".format(
kind, ' '.join(pipes.quote(arg) for arg in command)))
kind, ' '.join(shlex.quote(arg) for arg in command)))
fcntl.flock(lock, locktype)
sys.stderr.write("ok\n")

Expand Down

0 comments on commit dcb995b

Please sign in to comment.