summaryrefslogtreecommitdiff
path: root/newapkbuild.in
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 00:16:38 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 00:16:38 -0400
commit0a84eaef04242650c8b75fd3826ac7d02a34e0bf (patch)
treeba91e1f36e39863bc6d1e5adcdf4954424a15590 /newapkbuild.in
parent91988824d1ede90e371fbcb7461f73a7747ddebd (diff)
downloadabuild-0a84eaef04242650c8b75fd3826ac7d02a34e0bf.tar.gz
abuild-0a84eaef04242650c8b75fd3826ac7d02a34e0bf.tar.bz2
abuild-0a84eaef04242650c8b75fd3826ac7d02a34e0bf.tar.xz
abuild-0a84eaef04242650c8b75fd3826ac7d02a34e0bf.zip
dash is my god now. and it hungers for quotes around local var= expansions.
Diffstat (limited to 'newapkbuild.in')
-rw-r--r--newapkbuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/newapkbuild.in b/newapkbuild.in
index 7dcc2b5..85f838f 100644
--- a/newapkbuild.in
+++ b/newapkbuild.in
@@ -154,7 +154,7 @@ __EOF__
# Create new aport from templates
newaport() {
local newname="${1##*/}"
- local pn=${newname%-[0-9]*}
+ local pn="${newname%-[0-9]*}"
local pv
local source=
is_url "$1" && source="$1"