Bug 553724 – python interpretter path not patched in correctly
authorMatthias Clasen <mclasen@redhat.com>
Fri, 26 Sep 2008 14:28:25 +0000 (14:28 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 26 Sep 2008 14:28:25 +0000 (14:28 +0000)
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=/trunk/; revision=7546

ChangeLog
glib/Makefile.am

index 2b6c0ab..7069c18 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
-@008-09-26  Matthias Clasen  <mclasen@redhat.com>
+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.
+
+2008-09-26  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gmain.c: Add some more docs.
 
index 94556b6..c6f20bb 100644 (file)
@@ -347,7 +347,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