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



commit 60329aa3411cd3c9b1991f3546ed20520176262b
Author: Frédéric Péters <fpeters 0d be>
Date:   Fri Jul 25 13:54:48 2014 +0200

    Revert "Use the correct version of python from Autoconf for jhbuild script"
    
    This reverts commit 287093cfd844368510fb63bb230c06ce2613f3b5, as this is not
    the propery way.

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


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