This commit is contained in:
Gerhard Hoffmann 2023-05-25 17:16:10 +02:00
parent 47c6a9fdb0
commit faf1b68ce9

View File

@ -30,7 +30,7 @@ if [ -f $CHECKOUT_HISTORY_FILE ]; then
readarray opkg_commands < <(cat $OPKG_COMMANDS_FILE)
for opkg_c in "${opkg_commands[@]}"; do
# check for empty lines
if [ "$opkg_c" ]; then
if ! grep -qE '^[[:space:]]*$' <<< "$opkg_c"; then
echo "CCC=${opkg_c}CCC"
# check if line is not starting with '#'
if ! grep -qE "^\s*[#]+.*$" <<< "$opkg_c"; then