diff --git a/glib/Makefile.am b/glib/Makefile.am index 7eac7ffb4..149004a63 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -399,6 +399,7 @@ install-exec-hook: -e '1,24s|^ *#@PKGINSTALL_CONFIGVARS_IN24LINES@| ${CONFIGVARS}|' \ -e '1,1s|#! /usr/bin/env python\([0-9]\+\(\.[0-9]\+\)\?\)\?|#!${PYTHON}|' \ || exit $$? ; \ + chmod a+x $(DESTDIR)$(bindir)/$$sf ; \ rm -f "$(DESTDIR)$(bindir)/$$sf".tmp ; \ done