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=/trunk/; revision=7546
This commit is contained in:
Matthias Clasen 2008-09-26 14:28:25 +00:00 committed by Matthias Clasen
parent 40e192abf2
commit 93d9e7abf4
2 changed files with 8 additions and 2 deletions

View File

@ -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.

View 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