[d-feet] Use the path detected by autoconf instead of hard-coding /usr/bin/python



commit c28acbf326bb79543b285f371bdf068d8831d9a7
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Sat Feb 21 20:23:25 2015 +0800

    Use the path detected by autoconf instead of hard-coding /usr/bin/python
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744888

 src/Makefile.am |    1 +
 src/d-feet.in   |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 9273765..f5e8008 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -17,6 +17,7 @@ do_subst = sed -e 's|@abs_top_srcdir[ ]|$(abs_top_srcdir)|g' \
                -e 's|@pkglibdir[ ]|$(pkglibdir)|g' \
                -e 's|@pkgdatadir[ ]|$(pkgdatadir)|g' \
                -e 's|@pythondir[ ]|$(pythondir)|g' \
+               -e 's|@PYTHON[ ]|$(PYTHON)|g' \
                -e 's|@PACKAGE_NAME[ ]|$(PACKAGE_NAME)|g' \
                -e 's|@PACKAGE_VERSION[ ]|$(PACKAGE_VERSION)|g' \
                -e 's|@GETTEXT_PACKAGE[ ]|$(GETTEXT_PACKAGE)|g'
diff --git a/src/d-feet.in b/src/d-feet.in
index 867106c..00e3816 100644
--- a/src/d-feet.in
+++ b/src/d-feet.in
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#! PYTHON@
 # -*- coding: utf-8 -*-
 
 # Copyright (C) 2013 Thomas Bechtold <thomasbechtold jpberlin de>


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