newapkbuild: fix undefined variable $_builddir

This commit is contained in:
Jakub Jirutka 2016-06-12 16:23:30 +02:00 committed by Natanael Copa
parent 16b9cb0d37
commit 630c244cfe

View File

@ -202,7 +202,7 @@ __EOF__
if [ -d "$i" ]; then
sdir=$i
builddir=$(echo ${i#*/} | sed "s/$pv/\$pkgver/g")
builddir="\"\$srcdir\"/$_builddir"
builddir="\"\$srcdir\"/$builddir"
fi
done
echo "builddir=$builddir" >> APKBUILD