summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2019-05-06 09:07:35 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-12 12:20:35 +0000
commit49c7560c86c1fcc30d451fb20dd812731f247e46 (patch)
tree3c6c89425620c86dceaec3a6f54ecd03e0acd531
parentb743186dfe699cb7ed0b6a146a6cda1723987255 (diff)
downloadabuild-49c7560c86c1fcc30d451fb20dd812731f247e46.tar.gz
abuild-49c7560c86c1fcc30d451fb20dd812731f247e46.tar.bz2
abuild-49c7560c86c1fcc30d451fb20dd812731f247e46.tar.xz
abuild-49c7560c86c1fcc30d451fb20dd812731f247e46.zip
newapkbuild: quote pkgname and pkgver
These are strings after all and should be quoted even if not strictly necessary because of tradition excluding spaces from package names.
-rw-r--r--newapkbuild.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/newapkbuild.in b/newapkbuild.in
index 880d792..8c689f7 100644
--- a/newapkbuild.in
+++ b/newapkbuild.in
@@ -241,8 +241,8 @@ newaport() {
cat >APKBUILD<<__EOF__
# Contributor:${PACKAGER:+" "}${PACKAGER}
# Maintainer:${MAINTAINER:+" "}${MAINTAINER}
-pkgname=$pkgname
-pkgver=$pv
+pkgname="$pkgname"
+pkgver="$pv"
pkgrel=0
pkgdesc="$pkgdesc"
url="$url"