Bug 553724 – python interpretter path not patched in correctly

2008-09-26  Matthias Clasen  <mclasen@redhat.com>

        Bug 553724 – python interpretter path not patched in correctly

        * glib/Makefile.am: Fix the sed magic to replace python.



svn path=/branches/glib-2-18/; revision=7547
This commit is contained in:
Matthias Clasen 2008-09-26 14:31:01 +00:00 committed by Matthias Clasen
parent 908a403550
commit 88235e0721
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2008-09-26 Matthias Clasen <mclasen@redhat.com>
Merged from trunk
Bug 553724 python interpretter path not patched in correctly
* glib/Makefile.am: Fix the sed magic to replace python.
2008-09-23 Tor Lillqvist <tml@novell.com>
* glib/gmain.c (poll_rest) [Win32]: Fix embarrassing bug: I was

View File

@ -345,7 +345,7 @@ install-exec-hook:
mv -f "$(DESTDIR)$(bindir)/$$sf" "$(DESTDIR)$(bindir)/$$sf".tmp \
&& sed < "$(DESTDIR)$(bindir)/$$sf".tmp > "$(DESTDIR)$(bindir)/$$sf" \
-e '1,24s|^ *#@PKGINSTALL_CONFIGVARS_IN24LINES@| ${CONFIGVARS}|' \
-e '1,1s|#!/usr/bin/env python\([0-9]\+\(\.[0-9]\+\)\?\)\?|#!${PYTHON}|' \
-e '1,1s|#! /usr/bin/env python\([0-9]\+\(\.[0-9]\+\)\?\)\?|#!${PYTHON}|' \
|| exit $$? ; \
rm -f "$(DESTDIR)$(bindir)/$$sf".tmp ; \
done