From 18e0fe0d284ffdfe65bed24aee957c40b0770f56 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Fri, 15 Mar 2019 19:05:47 +0000 Subject: [PATCH] pkg.sh: Default wrappers installed with log-install -L to Python 3 Signed-off-by: Jan Lindemann --- scripts/pkg.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pkg.sh b/scripts/pkg.sh index cf3a9ee8..683b2703 100644 --- a/scripts/pkg.sh +++ b/scripts/pkg.sh @@ -641,13 +641,13 @@ install_exe_wrapper() case $ext in py) cat << EOT | sed 's/^ *|//' > "$tmp" - |#!/usr/bin/python + |#!/usr/bin/python3 | |import sys |import subprocess |args=sys.argv |args[0] = "$from" - |if subprocess.call([ '/usr/bin/python' ] + args) != 0: + |if subprocess.call([ '/usr/bin/python3' ] + args) != 0: | print("subprocess failed") | exit(1) EOT