From 7c2dea03674b54aa43d17a93e6e550f03759c95f Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 19 Jan 2011 14:05:48 +0100 Subject: Makefile: Make `make get-git` work under OpenBSD. OpenBSD tar(1) defaults to read from "/dev/rst0" when not specifying an filename and thus fails to extract the Git sourcecode when not passing stdin as input file descriptor explicitly. Signed-off-by: Lars Hjemli --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2dae3ac..3bdc218 100644 --- a/Makefile +++ b/Makefile @@ -168,4 +168,4 @@ clean-doc: rm -f cgitrc.5 cgitrc.5.html cgitrc.5.pdf cgitrc.5.xml cgitrc.5.fo get-git: - curl $(GIT_URL) | tar -xj && rm -rf git && mv git-$(GIT_VER) git + curl $(GIT_URL) | tar -xjf - && rm -rf git && mv git-$(GIT_VER) git -- cgit v1.2.3-54-g00ecf