diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-06-13 22:43:27 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-06-13 22:43:27 +0200 |
commit | 1647fef93aeff1c3dc8388f7c87055a6aa97ba49 (patch) | |
tree | f2c65a400274cd63449727832261f2801e38ffd2 /newapkbuild.in | |
parent | a3ce23dd53e4dc307dd01c9bdab80b31191555bd (diff) | |
download | abuild-1647fef93aeff1c3dc8388f7c87055a6aa97ba49.tar.gz abuild-1647fef93aeff1c3dc8388f7c87055a6aa97ba49.tar.bz2 abuild-1647fef93aeff1c3dc8388f7c87055a6aa97ba49.tar.xz abuild-1647fef93aeff1c3dc8388f7c87055a6aa97ba49.zip |
newapkbuild: add empty line after builddir= and quote whole value
Diffstat (limited to 'newapkbuild.in')
-rw-r--r-- | newapkbuild.in | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/newapkbuild.in b/newapkbuild.in index d19e197..ce9fd8f 100644 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -193,7 +193,6 @@ makedepends="$makedepends" install="$install" subpackages="\$pkgname-dev \$pkgname-doc" source="$source" - __EOF__ abuild -f fetch unpack @@ -202,10 +201,9 @@ __EOF__ if [ -d "$i" ]; then sdir=$i builddir=$(echo ${i#*/} | sed "s/$pv/\$pkgver/g") - builddir="\"\$srcdir\"/$builddir" fi 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 # confuses a lot people, remove it if there's no .h or .hpp file. |