From 00d663bb7b73a9682cd4a1d72536bc4943197cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Wed, 22 Nov 2017 00:17:29 +0000 Subject: vars/dist_{digest,tarballs}.vars: correctly check for ${ARG_TARBALL}. --- vars/dist_digest.vars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vars/dist_digest.vars') diff --git a/vars/dist_digest.vars b/vars/dist_digest.vars index 10377e07..5d28af38 100644 --- a/vars/dist_digest.vars +++ b/vars/dist_digest.vars @@ -4,7 +4,7 @@ pkg_dist_digest_all() { local __; - if [ "${ARG_TARBALL:-0}" -eq 1 ]; then + if [ -n "${ARG_TARBALL}" ]; then log_msg info "Compiling SHA256 sums..."; if [ -e "${PREFIX}/SHA256SUMS" ]; then build_fileop mv "${PREFIX}/SHA256SUMS" "${PREFIX}/SHA256SUMS.last"; -- cgit v1.2.3