From bf10932be12c451a0bee528e53707160c60dd6bf Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 22 Dec 2008 03:37:21 +0100 Subject: [PATCH] genindex: $XBPS_DIGEST_CMD is no more. --HG-- extra : convert_revision : a7945d1dc038b95cca840df61c44682a4e205058 --- shutils/binpkg-genindex.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shutils/binpkg-genindex.sh b/shutils/binpkg-genindex.sh index 7817d93c390..15ff0fdc27f 100644 --- a/shutils/binpkg-genindex.sh +++ b/shutils/binpkg-genindex.sh @@ -64,7 +64,7 @@ write_repo_pkgindex() propsf="./var/cache/xbps/metadata/$pkgname/props.plist" cd $tmppkgdir && tar xfjp $i $propsf if [ $? -ne 0 ]; then - msg_warn "Couldn't extract $i metadata file!" + msg_warn "Couldn't extract $(basename $i) metadata!" continue fi write_repo_pkgindex_dict $propsf $pkgindexf $(basename $i) @@ -157,7 +157,7 @@ write_repo_pkgindex_dict() echo "filename" >> $tmpdictf echo "$binpkgf" >> $tmpdictf echo "filename-sha256" >> $tmpdictf - echo "$($XBPS_DIGEST_CMD $binpkg)" \ + echo "$(xbps-digest $binpkg)" \ >> $tmpdictf continue # Continue until found.