From 63de948adaaaceb6e66accd2bc96a4dd4dbf85a8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 17 Dec 2015 19:46:32 +0100 Subject: reproducible rpms+archlinux: sort packages case-insensitive --- bin/reproducible_html_rpms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_html_rpms.sh') diff --git a/bin/reproducible_html_rpms.sh b/bin/reproducible_html_rpms.sh index f826bd2a..36ae543a 100755 --- a/bin/reproducible_html_rpms.sh +++ b/bin/reproducible_html_rpms.sh @@ -36,7 +36,7 @@ NR_DEPWAIT=0 NR_404=0 NR_GOOD=0 NR_UNKNOWN=0 -for PKG in $(find $RPMBASE/$RELEASE/$ARCH/* -maxdepth 1 -type d -exec basename {} \;|sort -u) ; do +for PKG in $(find $RPMBASE/$RELEASE/$ARCH/* -maxdepth 1 -type d -exec basename {} \;|sort -u -f) ; do if [ -z "$(cd $RPMBASE/$RELEASE/$ARCH/$PKG/ ; ls)" ] ; then # directory exists but is empty: package is building… echo "$(date -u ) - ignoring $PKG from '$RELEASE' ($ARCH) which is building right now…" -- cgit v1.2.3-54-g00ecf