diff --git a/.githooks/post-checkout b/.githooks/post-checkout index 3334c35..afd5c2c 100755 --- a/.githooks/post-checkout +++ b/.githooks/post-checkout @@ -37,7 +37,7 @@ if [ -f $CHECKOUT_HISTORY_FILE ]; then if [ ${#opkg_c} -eq 0 ]; then continue fi - echo "DDD=${opkg_c}DDD" + echo "DDD=${#opkg_c}DDD" # check if line is not starting with '#' if ! grep -qE "^\s*[#]+.*$" <<< "$opkg_c"; then echo -n "EXECUTE, $opkg_c, $now, N/A" | tr -d '\n\r' >> $GIT_UPDATE_LOG 2>&1