Merge pull request #458 from DidierA/macos_echo

Fix echo -n on macOS
This commit is contained in:
SirBroccoli 2025-02-02 13:49:16 +01:00 committed by GitHub
commit 41e00d5618
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,6 +188,9 @@ if [ $? -ne 0 ] ; then
fi fi
fi fi
# on macOS the built-in echo does not support -n, use /bin/echo instead
if [ "$MACPEAS" ] ; then alias echo=/bin/echo ; fi
print_title(){ print_title(){
if [ "$DEBUG" ]; then if [ "$DEBUG" ]; then
END_T1_TIME=$(date +%s 2>/dev/null) END_T1_TIME=$(date +%s 2>/dev/null)