Commit 2cf064f3 authored by Natanael Copa's avatar Natanael Copa

main/itstool: fix shebang

we need specify the full path so the shebang gets correct, otherwise
will configure script set it to `#!python3` which does not work

also add regression test for this issue
parent 95bf3911
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=itstool
pkgver=2.0.4
pkgrel=2
pkgrel=3
pkgdesc="ITS-based XML translation tool"
url="http://itstool.org/"
arch="noarch"
......@@ -15,7 +15,7 @@ builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
PYTHON="python3" ./configure \
PYTHON="/usr/bin/python3" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
......@@ -29,6 +29,9 @@ build() {
check() {
cd "$builddir"
make check
# verify that the shebang is correct
chmod +x itstool
./itstool
}
package() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment