Parcourir la source

Patching the default exec name for python images

Valentin Niess il y a 5 ans
Parent
commit
fc4662bd93
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      python_appimage/data/entrypoint.sh

+ 1 - 1
python_appimage/data/entrypoint.sh

@@ -11,7 +11,7 @@ done
 
 # Get the executable name, i.e. the AppImage or the python binary if running from an
 # extracted image
-executable="${APPDIR}/opt/{{ python }}/{{ python }}"
+executable="${APPDIR}/opt/{{ python }}/bin/{{ python }}"
 if [[ "${ARGV0}" =~ "/" ]]; then
     executable="$(cd $(dirname ${ARGV0}) && pwd)/$(basename ${ARGV0})"
 elif [[ "${ARGV0}" != "" ]]; then