fix install target
ober
f4f4d7af4a920fd716eb889dd63ee5b7d0d22864
--- a/Makefile +++ b/Makefile @@ -136,7 +136,7 @@ install: binary mkdir -p "$(BIN_DIR)" install -m 0755 "$(BIN)" "$(BIN_DIR)/gitsafe" cmp "$(BIN)" "$(BIN_DIR)/gitsafe" - test "$$($(BIN) --version)" = "$$($(BIN_DIR)/gitsafe --version)" + test "$$($(CURDIR)/$(BIN) --version)" = "$$($(BIN_DIR)/gitsafe --version)" mkdir -p "$(HOOK_DIR)" @for hook in pre-commit pre-push; do \ path="$(HOOK_DIR)/$$hook"; \