[PATCH] allow various git command locations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Cliff Wickman <cpw@xxxxxxx>


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 <cpw@xxxxxxx>
---
 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
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux