From 210ed839bbb5fd15957c6e37120b73ad334b4d68 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Thu, 14 Jan 2010 15:15:11 +0100
Subject: [PATCH] Small update to the Makefile

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 044bd5fee..f575258c0 100644
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,7 @@ Ganeti/HTools/Version.hs: Ganeti/HTools/Version.hs.in version
 
 dist: regen-version Ganeti/HTools/Version.hs doc
 	set -e ; \
-	VN=$$(cat version|sed 's/^v//') ; \
+	VN=$$(sed 's/^v//' < version) ; \
 	PFX="ganeti-htools-$$VN" ; \
 	ANAME="$$PFX.tar" ; \
 	rm -f $$ANAME $$ANAME.gz ; \
-- 
GitLab