diff --git a/xbps.sh b/xbps.sh index c03819e950d..4705969d6fa 100755 --- a/xbps.sh +++ b/xbps.sh @@ -168,7 +168,7 @@ info_tmpl() echo "pkgname: $pkgname" echo "version: $version" for i in "${distfiles}"; do - echo "distfile: $i" + [ -n "$i" ] && echo "distfile: $i" done [ -n "$checksum" ] && echo "checksum: $checksum" echo "maintainer: $maintainer"