[yelp-tools: 1/2] Use /usr/bin/python3 as shebang




commit 9fcfd8ed09cf149e8421df8aa963fa39a644a009
Author: Dominique Leuenberger <dimstar opensuse org>
Date:   Thu Feb 11 12:06:12 2021 +0100

    Use /usr/bin/python3 as shebang
    
    I don't think any distro has python3 installed in /bin.
    Some distros have completed UsrMerge, which makes /bin a symlink to
    /usr/bin, so /bin/python3 is available on those distros. But it breaks
    on all other distros.

 tools/yelp-build.in | 2 +-
 tools/yelp-check.in | 2 +-
 tools/yelp-new.in   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tools/yelp-build.in b/tools/yelp-build.in
index d53db523..438f0820 100755
--- a/tools/yelp-build.in
+++ b/tools/yelp-build.in
@@ -1,4 +1,4 @@
-#!/bin/python3
+#!/usr/bin/python3
 #
 # yelp-build
 # Copyright (C) 2010-2020 Shaun McCance <shaunm gnome org>
diff --git a/tools/yelp-check.in b/tools/yelp-check.in
index 02f17771..45a91b9e 100755
--- a/tools/yelp-check.in
+++ b/tools/yelp-check.in
@@ -1,4 +1,4 @@
-#!/bin/python3
+#!/usr/bin/python3
 #
 # yelp-check
 # Copyright (C) 2011-2020 Shaun McCance <shaunm gnome org>
diff --git a/tools/yelp-new.in b/tools/yelp-new.in
index cb923d53..d6ef3eef 100755
--- a/tools/yelp-new.in
+++ b/tools/yelp-new.in
@@ -1,4 +1,4 @@
-#!/bin/python3
+#!/usr/bin/python3
 #
 # yelp-new
 # Copyright (C) 2010-2020 Shaun McCance <shaunm gnome org>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]