Skip to content

Commit

Permalink
Re-escape
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Nov 25, 2024
1 parent fdf1d82 commit 48b88b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpython-unix/build-cpython.sh
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ def fix_shebang(full):
lines.extend([
b"#!/bin/sh\n",
b"'''exec' \"$(dirname -- \"$(realpath -- \"$0\")\")\"/'python${PYTHON_MAJMIN_VERSION}${PYTHON_BINARY_SUFFIX}' \"$0\" \"$@\"\n",
b"'''exec' \"$(dirname -- \\\"$(realpath -- \\\"$0\\\")\\\")\"/'python${PYTHON_MAJMIN_VERSION}${PYTHON_BINARY_SUFFIX}' \\\"$0\\\" \\\"$@\\\"\n",
b"' '''\n",
])
Expand Down

0 comments on commit 48b88b2

Please sign in to comment.