We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2458be commit edbb772Copy full SHA for edbb772
cpython-unix/build-cpython.sh
@@ -858,7 +858,7 @@ def fix_shebang(full):
858
859
lines.extend([
860
b"#!/bin/sh\n",
861
- 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",
862
b"' '''\n",
863
])
864
0 commit comments