Skip to content

Commit

Permalink
Simplify the git describe command, so that it will work without sed.
Browse files Browse the repository at this point in the history
  • Loading branch information
agraef committed Jan 10, 2023
1 parent cea491f commit 9c9a76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
lib.name = pdlua

pdlua_version := $(shell git describe --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
pdlua_version := $(shell git describe --tags 2>/dev/null)

luasrc = $(wildcard lua/onelua.c)

Expand Down

0 comments on commit 9c9a76d

Please sign in to comment.