Skip to content

Commit

Permalink
Fix version info when git is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
mkozlowski committed Sep 27, 2024
1 parent 11a0064 commit 4e4ae62
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
Expand Up @@ -104,7 +104,7 @@ endif

PCFLAGS += -Wstrict-prototypes -fno-stack-protector -fpie -nostdlib -ffreestanding -fomit-frame-pointer -Wa,--noexecstack

GIT_VERSION = $(shell git describe --dirty 2>/dev/null | sed 's/^v//' || echo "unknown")
GIT_VERSION = $(shell (git describe --dirty 2>/dev/null || echo "unknown") | sed 's/^v//')

GOFF = ./gen-offsets.sh

Expand Down

0 comments on commit 4e4ae62

Please sign in to comment.