test for syntax errors
This commit is contained in:
		| @@ -31,7 +31,7 @@ if [ -f $CHECKOUT_HISTORY_FILE ]; then | |||||||
|             for opkg_c in "${opkg_commands[@]}"; do |             for opkg_c in "${opkg_commands[@]}"; do | ||||||
|                 # check for empty lines |                 # check for empty lines | ||||||
|                 if [ "$opkg_c" ]; then |                 if [ "$opkg_c" ]; then | ||||||
|                     echo "CC=$opkg_c" |                     echo "CC=${opkg_c}CC" | ||||||
|                     # 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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user