Skip to contentSkip to conversation

Fix gzip path in Makefile.inc

PATCH Applied Phileas Fogg 2 participants 2 messages Feb 21, 2013 – Feb 24, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix gzip path in Makefile.inc

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 <[email protected]>
Date: Thu, 21 Feb 2013 23:42:39 +0100
Subject: [PATCH] fix gzip path

---
 Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile.inc +1 -1
index b0c68f4..92d2289 100644
@@ -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
Signature · 1 line
1.8.1.3
#1 lore raw
Quoted 9 lines · Phileas Fogg

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