[jhbuild] Use the correct version of python from Autoconf for jhbuild script



commit 287093cfd844368510fb63bb230c06ce2613f3b5
Author: Richard Mark <rickmark outlook com>
Date:   Thu Jul 24 16:19:52 2014 -0700

    Use the correct version of python from Autoconf for jhbuild script
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733704

 scripts/Makefile.am |    1 +
 scripts/jhbuild.in  |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 1e4087f..8b9f438 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -16,6 +16,7 @@ jhbuild: jhbuild.in
                -e s!\ pythondir\@!$(pythondir)!        \
                -e s!\ PACKAGE\@!$(PACKAGE)!            \
                -e s!\ VERSION\@!$(VERSION)!            \
+               -e s!\ PYTHON\@!$(PYTHON)!              \
                < $< > $@
 
 jhbuild: Makefile
diff --git a/scripts/jhbuild.in b/scripts/jhbuild.in
index aee6b73..e3db590 100644
--- a/scripts/jhbuild.in
+++ b/scripts/jhbuild.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#! PYTHON@
 # -*- coding: utf-8 -*-
 
 import sys


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