[dm-devel] [PATCH] Fix gzip path in Makefile.inc

Phileas Fogg phileas-fogg at mail.ru
Thu Feb 21 22:47:22 UTC 2013


Hi,

i would like to submit a patch which fixes the path to gzip in Makefile.inc
Makefile.inc uses the absolute path /bin/gzip which isn't valid on all Linux 
distros. E.g. on Arch Linux which i'm cuurrently using the gzip tool is 
installed in /usr/bin/gzip. The patch fixes the build problem on Linux distros 
which do not have gzip in /bin directory.

 From fe391d79dd3361ba2714ac016b755fea0c9217eb Mon Sep 17 00:00:00 2001
From: glevand <geoffrey.levand at mail.ru>
Date: Thu, 21 Feb 2013 23:42:39 +0100
Subject: [PATCH] fix gzip path

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

diff --git a/Makefile.inc b/Makefile.inc
index b0c68f4..92d2289 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -35,7 +35,7 @@ libdir	    = $(prefix)/$(LIB)/multipath
  unitdir     = $(prefix)/lib/systemd/system
  mpathpersistdir = $(TOPDIR)/libmpathpersist

-GZIP        = /bin/gzip -9 -c
+GZIP        = gzip -9 -c
  INSTALL_PROGRAM = install

  ifndef RPM_OPT_FLAGS
-- 
1.8.1.3




More information about the dm-devel mailing list