From 864d807d5fab99b872f6a1e9e07a84218560be54 Mon Sep 17 00:00:00 2001 From: Tristan Maat Date: Sun, 18 Mar 2018 23:42:49 +0000 Subject: [PATCH] utils.sh - Find fixed python binary using env instead --- build/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/utils.sh b/build/utils.sh index 4090aec..1d66374 100755 --- a/build/utils.sh +++ b/build/utils.sh @@ -33,7 +33,7 @@ do_build() { && zip -rq ../"${PKGNAME}.zip" . -x '**__pycache__**' 'resources/*' \ && cd - >/dev/null \ && mkdir -p "${INSTALL_ROOT}${PREFIX}"/{bin,share} \ - && echo '#!/bin/python3' >> "${INSTALL_ROOT}${PREFIX}/bin/web-greeter" \ + && echo '#!/usr/bin/env python3' >> "${INSTALL_ROOT}${PREFIX}/bin/web-greeter" \ && cat web-greeter.zip >> "${INSTALL_ROOT}${PREFIX}/bin/web-greeter" \ && chmod +x "${INSTALL_ROOT}${PREFIX}/bin/web-greeter") }