summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xglib/Pkgfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/glib/Pkgfile b/glib/Pkgfile
index feb7c18a6..19b4e9bb6 100755
--- a/glib/Pkgfile
+++ b/glib/Pkgfile
@@ -12,7 +12,7 @@ source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$versio
build () {
cd $name-$version
- export PYTHON=python2
+ export PYTHON=/usr/bin/python2
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
@@ -21,5 +21,4 @@ build () {
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/gtk-doc
- sed -i -e "s|#!/usr/bin/env python|#!/usr/bin/env python2|" $PKG/usr/bin/gdbus-codegen
}