diff --git a/scripts/admin/build-package-tarballs.sh b/scripts/admin/build-package-tarballs.sh index 39c5b4a490..76e663810d 100755 --- a/scripts/admin/build-package-tarballs.sh +++ b/scripts/admin/build-package-tarballs.sh @@ -41,7 +41,8 @@ fi FIRST_RUN=true # keep track to place commas correctly cd packages -for PACKAGE in * +SORTED_PACKAGE_LIST=$(LC_ALL=C ls .) # Ensure consistent order between platforms +for PACKAGE in "$SORTED_PACKAGE_LIST" do if [ -a "$PACKAGE/package.js" ]; then if [ $FIRST_RUN == false ]; then