All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix gzip path in Makefile.inc
@ 2013-02-21 22:47 Phileas Fogg
  2013-02-24 15:43 ` Christophe Varoqui
  0 siblings, 1 reply; 2+ messages in thread
From: Phileas Fogg @ 2013-02-21 22:47 UTC (permalink / raw)
  To: dm-devel


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@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix gzip path in Makefile.inc
  2013-02-21 22:47 [PATCH] Fix gzip path in Makefile.inc Phileas Fogg
@ 2013-02-24 15:43 ` Christophe Varoqui
  0 siblings, 0 replies; 2+ messages in thread
From: Christophe Varoqui @ 2013-02-24 15:43 UTC (permalink / raw)
  To: device-mapper development

On jeu., 2013-02-21 at 23:47 +0100, Phileas Fogg wrote:
> 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.

Applied.

Thanks,
Christophe Varoqui
www.opensvc.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-24 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21 22:47 [PATCH] Fix gzip path in Makefile.inc Phileas Fogg
2013-02-24 15:43 ` Christophe Varoqui

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.