summaryrefslogtreecommitdiff
path: root/system/ncurses
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 04:02:27 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 04:43:04 -0400
commit23bcb3767f6d16eaba523055f0b8474bfbae16ba (patch)
tree95327b88bac6651c45ca92c099d4fb300716ba49 /system/ncurses
parentd3eb7058d8f66a7fa94c262314df4c95a76a36fc (diff)
downloadpackages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.gz
packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.bz2
packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.xz
packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.zip
system/*: initial bashism removal
Diffstat (limited to 'system/ncurses')
-rw-r--r--system/ncurses/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/ncurses/APKBUILD b/system/ncurses/APKBUILD
index 058a81abd..414283adf 100644
--- a/system/ncurses/APKBUILD
+++ b/system/ncurses/APKBUILD
@@ -49,8 +49,8 @@ package() {
# Install basic terms in /etc/terminfo
for i in ansi console dumb linux rxvt screen sun vt52 vt100 vt102 \
vt200 vt220 xterm xterm-color xterm-xfree86; do
- local termfile=$(find "$pkgdir"/usr/share/terminfo/ -name "$i" 2>/dev/null) || true
- local basedir=$(basename $(dirname "$termfile"))
+ local termfile="$(find "$pkgdir"/usr/share/terminfo/ -name "$i" 2>/dev/null)"
+ local basedir="$(basename $(dirname "$termfile"))"
[ -z "$termfile" ] && continue