From 23bcb3767f6d16eaba523055f0b8474bfbae16ba Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sun, 21 Jul 2019 04:02:27 -0400 Subject: system/*: initial bashism removal --- system/ncurses/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/ncurses/APKBUILD') 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 -- cgit v1.2.3-70-g09d2