Commit 1647fef9 authored by Jakub Jirutka's avatar Jakub Jirutka
Browse files

newapkbuild: add empty line after builddir= and quote whole value

parent a3ce23dd
...@@ -193,7 +193,6 @@ makedepends="$makedepends" ...@@ -193,7 +193,6 @@ makedepends="$makedepends"
install="$install" install="$install"
subpackages="\$pkgname-dev \$pkgname-doc" subpackages="\$pkgname-dev \$pkgname-doc"
source="$source" source="$source"
__EOF__ __EOF__
abuild -f fetch unpack abuild -f fetch unpack
...@@ -202,10 +201,9 @@ __EOF__ ...@@ -202,10 +201,9 @@ __EOF__
if [ -d "$i" ]; then if [ -d "$i" ]; then
sdir=$i sdir=$i
builddir=$(echo ${i#*/} | sed "s/$pv/\$pkgver/g") builddir=$(echo ${i#*/} | sed "s/$pv/\$pkgver/g")
builddir="\"\$srcdir\"/$builddir"
fi fi
done done
echo "builddir=$builddir" >> APKBUILD printf 'builddir="$srcdir/%s"\n\n' "$builddir" >> APKBUILD
# Subpackage -dev is usually required only for C/C++. Since depends_dev # Subpackage -dev is usually required only for C/C++. Since depends_dev
# confuses a lot people, remove it if there's no .h or .hpp file. # confuses a lot people, remove it if there's no .h or .hpp file.
......
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