diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-17 19:46:32 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-17 19:46:32 +0100 |
commit | 63de948adaaaceb6e66accd2bc96a4dd4dbf85a8 (patch) | |
tree | 52c246b088299fdec56b5c07ab22c97d05bc7d15 /bin | |
parent | 5ea5fa88d206e7ea39f384201c823c190152edec (diff) | |
download | jenkins.debian.net-63de948adaaaceb6e66accd2bc96a4dd4dbf85a8.tar.xz |
reproducible rpms+archlinux: sort packages case-insensitive
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_archlinux.sh | 2 | ||||
-rwxr-xr-x | bin/reproducible_html_rpms.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 34075532..83ad1f81 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -34,7 +34,7 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do NR_404=0 NR_GOOD=0 NR_UNKNOWN=0 - for PKG in $(find $ARCHBASE/$REPOSITORY/* -maxdepth 1 -type d -exec basename {} \;|sort -u) ; do + for PKG in $(find $ARCHBASE/$REPOSITORY/* -maxdepth 1 -type d -exec basename {} \;|sort -u -f) ; do if [ -z "$(cd $ARCHBASE/$REPOSITORY/$PKG/ ; ls)" ] ; then # directory exists but is empty: package is building… echo "$(date -u ) - ignoring $PKG from '$REPOSITORY' which is building right now…" 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…" |