summaryrefslogtreecommitdiff
path: root/newapkbuild.in
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-08-02 05:27:45 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-08-02 05:27:45 +0000
commit4184c42b2597193366da7a8ada8d3b7344be6f61 (patch)
treeba91e1f36e39863bc6d1e5adcdf4954424a15590 /newapkbuild.in
parentefc6792152a1b5fba1165a0ff41ccf74541ca134 (diff)
parent0a84eaef04242650c8b75fd3826ac7d02a34e0bf (diff)
downloadabuild-4184c42b2597193366da7a8ada8d3b7344be6f61.tar.gz
abuild-4184c42b2597193366da7a8ada8d3b7344be6f61.tar.bz2
abuild-4184c42b2597193366da7a8ada8d3b7344be6f61.tar.xz
abuild-4184c42b2597193366da7a8ada8d3b7344be6f61.zip
Merge branch 'bashisms' into 'master'
POSIX me harder See merge request adelie/abuild!3
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"