From 8be4ecef3d7f083ec34c2bb6344d9bafb06cc61c Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Thu, 21 Oct 2010 20:08:23 +0200 Subject: pyanidb: Workaround to use Python 2.x. --- pyanidb/PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyanidb/PKGBUILD') 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: -- cgit v1.2.3