From 74edb5e88a33b3ae13fef1c7354ea0d8e2ad2100 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 25 May 2023 17:28:09 +0200 Subject: [PATCH] testing --- .githooks/post-checkout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.githooks/post-checkout b/.githooks/post-checkout index db149ad..5ee5dca 100755 --- a/.githooks/post-checkout +++ b/.githooks/post-checkout @@ -31,7 +31,7 @@ if [ -f $CHECKOUT_HISTORY_FILE ]; then for opkg_c in "${opkg_commands[@]}"; do # check for empty lines echo "CCC=${opkg_c}CCC" - if grep -qE '^\s*$' <<< "${opkg_c}"; then + if grep -qE '^[[:space:]]+$' <<< "${opkg_c}"; then continue fi echo "DDD=${opkg_c}DDD"