From: Rob Browning Date: Sat, 8 Aug 2020 18:05:39 +0000 (-0500) Subject: install-python-script: don't presume python exists X-Git-Tag: 0.31~13 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=bup.git;a=commitdiff_plain;h=daab96e9d6bbf783608ed979cc1b6c6ceb48de3e install-python-script: don't presume python exists Reported-by: Robert Edmonds Signed-off-by: Rob Browning Tested-by: Rob Browning --- diff --git a/dev/install-python-script b/dev/install-python-script index 251a9f8..83d8861 100755 --- a/dev/install-python-script +++ b/dev/install-python-script @@ -1,6 +1,7 @@ #!/bin/sh """": # -*-python-*- -exec env LC_CTYPE=iso-8859-1 python "$0" ${1+"$@"} +export LC_CTYPE=iso-8859-1 +exec "$(dirname "$0")/../config/bin/python" "$0" "$@" """ from __future__ import absolute_import, print_function