diff --git a/ci/release/template/scripts/lib.sh b/ci/release/template/scripts/lib.sh index 68e45059d..2b3769999 100644 --- a/ci/release/template/scripts/lib.sh +++ b/ci/release/template/scripts/lib.sh @@ -24,11 +24,10 @@ pick() { seed_file="$(mktemp)" echo "$seed" >"$seed_file" - # We add 16 more bytes to the seed file for sufficient entropy. Otherwise Cygwin's sort - # for example complains and I'm sure there are more platforms that would too. - # edit: nvm disabled for now, we don't use Cygwin anyway, we use MinGW who has a sort - # that behaves correctly. - # echo "================" >"$seed_file" + # We add 16 more bytes to the seed file for sufficient entropy. Otherwise both Cygwin's + # and MinGW's sort for example complains about the lack of entropy on stderr and writes + # nothing to stdout. I'm sure there are more platforms that would too. + echo "================" >"$seed_file" while [ $# -gt 0 ]; do echo "$1" diff --git a/install.sh b/install.sh index 4a3b74ed4..2f577321d 100755 --- a/install.sh +++ b/install.sh @@ -29,11 +29,10 @@ pick() { seed_file="$(mktemp)" echo "$seed" >"$seed_file" - # We add 16 more bytes to the seed file for sufficient entropy. Otherwise Cygwin's sort - # for example complains and I'm sure there are more platforms that would too. - # edit: nvm disabled for now, we don't use Cygwin anyway, we use MinGW who has a sort - # that behaves correctly. - # echo "================" >"$seed_file" + # We add 16 more bytes to the seed file for sufficient entropy. Otherwise both Cygwin's + # and MinGW's sort for example complains about the lack of entropy on stderr and writes + # nothing to stdout. I'm sure there are more platforms that would too. + echo "================" >"$seed_file" while [ $# -gt 0 ]; do echo "$1"