File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -468,11 +468,12 @@ declare TLS13_OSSL_CIPHERS="TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CH
468468HAS_GNUDATE=false
469469HAS_FREEBSDDATE=false
470470HAS_OPENBSDDATE=false
471+
471472if date -d @735275209 >/dev/null 2>&1; then
472473 if date -r @735275209 >/dev/null 2>&1; then
473474 # Ubuntu >= 25.10
474475 HAS_GNUDATE=true
475- elif date -r 735275209 2>&1 | grep -q "No such file"; then
476+ elif LC_ALL=C date -r 735275209 2>&1 | grep -q "No such file"; then
476477 # e.g. Debian 24.04, Debian 11-13
477478 HAS_GNUDATE=true
478479 elif date -r 735275209 >/dev/null 2>&1; then
484485date -j -f '%s' 1234567 >/dev/null 2>&1 && \
485486 HAS_FREEBSDDATE=true
486487
488+
487489echo A | sed -E 's/A//' >/dev/null 2>&1 && \
488490 declare -r HAS_SED_E=true || \
489491 declare -r HAS_SED_E=false
You can’t perform that action at this time.
0 commit comments