Skip to content

Commit

Permalink
removes git text
Browse files Browse the repository at this point in the history
  • Loading branch information
javierbrk committed Dec 12, 2024
1 parent eecb30e commit 4818e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libremesh.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ PKG_VERSION?=$(if $(DUMP),x,$(strip $(shell \
set -- $$(git log -1 --format="%ct %h" --abbrev=7); \
secs="$$(($$1 % 86400))"; \
yday="$$(date --utc --date="@$$1" "+%y.%j")"; \
revision="$$(printf 'git-%s.%05d-%s' "$$yday" "$$secs" "$$2")"; \
revision="$$(printf '%s.%05d' "$$yday" "$$secs" | tr -cd '0-9.')"; \
fi; \
else \
revision="unknown"; \
revision="0.0.0.0"; \
fi; \
echo "$$revision" \
)))
Expand Down

0 comments on commit 4818e7c

Please sign in to comment.