We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34a4a67 commit d579c13Copy full SHA for d579c13
1 file changed
linuxdeploy-plugin-python.sh
@@ -162,7 +162,7 @@ cd "$APPDIR/${prefix}/bin"
162
for exe in $(ls "${APPDIR}/${prefix}/bin"*)
163
do
164
if [[ -f "$exe" ]] && [[ -x "$exe" ]]; then
165
- sed -i '1s|^#!.*\(python[0-9.]*\)|#!/bin/sh\n"exec" "$(dirname $(readlink -f $\{0\}))/../../bin/\1" "$0" "$@"|' "$exe"
+ sed -i '1s|^#!.*\(python[0-9.]*\).*|#!/bin/sh\n"exec" "$(dirname $(readlink -f $\{0\}))/../../bin/\1" "$0" "$@"|' "$exe"
166
fi
167
done
168
0 commit comments