testing
This commit is contained in:
parent
faf1b68ce9
commit
7a0950e004
@ -30,13 +30,14 @@ if [ -f $CHECKOUT_HISTORY_FILE ]; then
|
|||||||
readarray opkg_commands < <(cat $OPKG_COMMANDS_FILE)
|
readarray opkg_commands < <(cat $OPKG_COMMANDS_FILE)
|
||||||
for opkg_c in "${opkg_commands[@]}"; do
|
for opkg_c in "${opkg_commands[@]}"; do
|
||||||
# check for empty lines
|
# check for empty lines
|
||||||
if ! grep -qE '^[[:space:]]*$' <<< "$opkg_c"; then
|
if grep -qE '^$' <<< "$opkg_c"; then
|
||||||
echo "CCC=${opkg_c}CCC"
|
continue
|
||||||
# check if line is not starting with '#'
|
fi
|
||||||
if ! grep -qE "^\s*[#]+.*$" <<< "$opkg_c"; then
|
echo "CCC=${opkg_c}CCC"
|
||||||
echo -n "EXECUTE, $opkg_c, $now, N/A" | tr -d '\n\r' >> $GIT_UPDATE_LOG 2>&1
|
# check if line is not starting with '#'
|
||||||
echo "" >> $GIT_UPDATE_LOG 2>&1
|
if ! grep -qE "^\s*[#]+.*$" <<< "$opkg_c"; then
|
||||||
fi
|
echo -n "EXECUTE, $opkg_c, $now, N/A" | tr -d '\n\r' >> $GIT_UPDATE_LOG 2>&1
|
||||||
|
echo "" >> $GIT_UPDATE_LOG 2>&1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user