diff options
-rwxr-xr-x | bin/reproducible_build_archlinux_pkg.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh index cbced05b..9de8260d 100755 --- a/bin/reproducible_build_archlinux_pkg.sh +++ b/bin/reproducible_build_archlinux_pkg.sh @@ -87,7 +87,7 @@ choose_package() { ;; esac touch -d "$(date -d "$MIN_AGE days ago" '+%Y-%m-%d') 00:00 UTC" $DUMMY - for PKG in $(echo ${ARCHLINUX_PKGS}_$REPO | sed -s "s# #\n#g" | sort -R | xargs echo ) ; do + for PKG in $(sort -R ${ARCHLINUX_PKGS}_$REPO) ; do # build package if it has never build or at least $MIN_AGE days ago if [ ! -d $BASE/archlinux/$REPO/$PKG ] || [ $DUMMY -nt $BASE/archlinux/$REPO/$PKG ] ; then REPOSITORY=$REPO |