summaryrefslogtreecommitdiff
path: root/system/ncurses
diff options
context:
space:
mode:
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