summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyanidb/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyanidb/PKGBUILD b/pyanidb/PKGBUILD
index 0731e17..41d5834 100644
--- a/pyanidb/PKGBUILD
+++ b/pyanidb/PKGBUILD
@@ -14,7 +14,8 @@ md5sums=('192b1db069f28ca3c80c324b8f92bcac')
build() {
cd "$srcdir/$pkgname-$pkgver"
- python setup.py install --root=${pkgdir} || return 1
+ sed -i 's|#!/usr/bin/python|#!/usr/bin/env python2|' anidb
+ python2 setup.py install --root=${pkgdir} || return 1
}
# vim:set ts=2 sw=2 et: