From 427368b4d75d25a040912b97467fa218b8c99733 Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Sun, 4 Dec 2022 14:56:50 -0800 Subject: [PATCH] gen --- ci/release/template/scripts/lib.sh | 9 ++++----- install.sh | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) 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"