----- Original Message ----- > > > ----- Original Message ----- > > I looked shortly for git options but I did not find any. > > The ping command also fails (our firewall??) > > > > Jan > > OK, so perhaps a shell command can be shoehorned into eppic.mk > that does a "ping -c 1 code.google.com" and captures the return > status? > > Dave > Jan, Can you try the attached patch to extensions/eppic.mk? Thanks, Dave
Index: extensions/eppic.mk =================================================================== RCS file: /net/homedirs/vol/data/share/projects/cvs/crash/extensions/eppic.mk,v retrieving revision 1.1 diff -u -r1.1 eppic.mk --- extensions/eppic.mk 12 Jun 2012 14:48:41 -0000 1.1 +++ extensions/eppic.mk 17 Jul 2012 14:19:10 -0000 @@ -17,6 +17,7 @@ CRASH_REF_ROOT= APPFILE=eppic/applications/crash/eppic.c +GOOGLE := $(shell ping -c 1 code.google.com | grep "1 received") all: @if [ -f /usr/bin/flex ] && [ -f /usr/bin/bison ]; then \ @@ -24,11 +25,13 @@ then \ if [ ! -f $(APPFILE) ]; \ then \ - if [ -f /usr/bin/git ]; \ + if [ -f /usr/bin/git ] && [ -n "$(GOOGLE)" ] ; \ then \ git clone https://code.google.com/p/eppic eppic; \ else \ + if [ ! -f /usr/bin/git ]; then \ echo "eppic.so: git command is needed for pulling eppic extension code"; \ + fi; \ fi; \ fi; \ if [ -f $(APPFILE) ]; \
-- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility