This commit is contained in:
Gerhard Hoffmann 2023-05-25 17:37:19 +02:00
parent 609cf8bc3c
commit 24f5ae1696

View File

@ -30,11 +30,10 @@ if [ -f $CHECKOUT_HISTORY_FILE ]; then
readarray opkg_commands < <(cat $OPKG_COMMANDS_FILE)
for opkg_c in "${opkg_commands[@]}"; do
# check for empty lines
echo "CCC=${opkg_c}CCC"
if grep -qE '^[[:space:]]+$' <<< "${opkg_c}"; then
continue
fi
if [ ${#opkg_c} -eq 0 ]; then
if [ "${#opkg_c}" -eq 0 ]; then
continue
fi
echo "DDD=${#opkg_c}DDD"