Skip to content

Commit 073dff5

Browse files
authored
Merge pull request #1018 from da-viper/fix-fedora-ci
[Buildsystem] Replace pipes with shlex for command quoting
2 parents d80e185 + 06a9df4 commit 073dff5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/SwiftBuildTool/Inputs/pseudo-swiftc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import argparse
55
import json
66
import os
7-
import pipes
7+
import shlex
88
import sys
99

1010
def main():
@@ -47,7 +47,7 @@ def main():
4747

4848
# If run in show commands mode, print some dummy output.
4949
if args.show_commands:
50-
print(' '.join(map(pipes.quote, [
50+
print(' '.join(map(shlex.quote, [
5151
sys.argv[0], "-frontend", "...blablabla..."])))
5252
return
5353

0 commit comments

Comments
 (0)