From: Cliff Wickman <[email protected]>

I build crash on systems that don't always have the git command
as /usr/bin/git.

Could you allow git to be in various places?  Something like below?

Signed-off-by: Cliff Wickman <[email protected]>
---
 extensions/eppic.mk |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: crash-6.0.8/extensions/eppic.mk
===================================================================
--- crash-6.0.8.orig/extensions/eppic.mk
+++ crash-6.0.8/extensions/eppic.mk
@@ -24,7 +24,8 @@ all:
       then \
         if  [ ! -f $(APPFILE) ]; \
         then \
-             if [ -f /usr/bin/git ]; \
+             GIT=`which git 2> /dev/null`; \
+             if [ -f $${GIT} ]; \
           then \
              git clone https://code.google.com/p/eppic eppic; \
           else \

--
Crash-utility mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/crash-utility

Reply via email to