Skip to content

Commit 4133dfc

Browse files
committed
try pre-commit on multiple platforms
1 parent ed3390b commit 4133dfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.pre-commit-scripts/install_gettext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def main():
2121
)
2222
exit(0)
2323
elif sys.platform in ["linux", "linux2"]:
24-
cmd = shlex.split("sudo apt update && sudo apt install -y gettext", posix=True)
24+
cmd = "sudo apt update && sudo apt install -y gettext"
2525
else: # macOS
26-
cmd = shlex.split("brew update && brew install gettext", posix=True)
26+
cmd = "brew update && brew install gettext"
2727
return subprocess.run(cmd, shell=True, check=True)
2828

2929

0 commit comments

Comments
 (0)