summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Leuenberger <dimstar@opensuse.org>2021-02-11 12:06:12 +0100
committerDominique Leuenberger <dimstar@opensuse.org>2021-02-11 12:06:12 +0100
commit9fcfd8ed09cf149e8421df8aa963fa39a644a009 (patch)
tree9216cb55e7241bfeddede2b5fd33bd5a1b7b66ad
parent3f0c73b8215753fbb578f870644517a9e22c3d63 (diff)
downloadyelp-tools-9fcfd8ed09cf149e8421df8aa963fa39a644a009.tar.gz
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.
-rwxr-xr-xtools/yelp-build.in2
-rwxr-xr-xtools/yelp-check.in2
-rwxr-xr-xtools/yelp-new.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/yelp-build.in b/tools/yelp-build.in
index d53db52..438f082 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 02f1777..45a91b9 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 cb923d5..d6ef3ee 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>