testing
This commit is contained in:
parent
2e09b19564
commit
f342d81db2
@ -30,10 +30,11 @@ 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 '^\s*$' <<< "$opkg_c"; then
|
echo "CCC=${opkg_c}CCC"
|
||||||
|
if grep -qE '^\s*$' <<< "${opkg_c}"; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
echo "CCC=${opkg_c}CCC"
|
echo "DDD=${opkg_c}DDD"
|
||||||
# check if line is not starting with '#'
|
# check if line is not starting with '#'
|
||||||
if ! grep -qE "^\s*[#]+.*$" <<< "$opkg_c"; then
|
if ! grep -qE "^\s*[#]+.*$" <<< "$opkg_c"; then
|
||||||
echo -n "EXECUTE, $opkg_c, $now, N/A" | tr -d '\n\r' >> $GIT_UPDATE_LOG 2>&1
|
echo -n "EXECUTE, $opkg_c, $now, N/A" | tr -d '\n\r' >> $GIT_UPDATE_LOG 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user