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

View File

@ -29,12 +29,11 @@ if [ -f $CHECKOUT_HISTORY_FILE ]; then
if grep -q . "${OPKG_COMMANDS_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"
# check for empty lines
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"