Skip to contentSkip to conversation

Fix etags invocation

PATCH New Tim Deegan 1 participant 1 message Sep 7, 2009

lore
Share & tools
lore

Tim Deegan

author
#0 lore raw

PATCH 1/1 Fix etags invocation

Don't fail in the case where 'etags' isn't Exuberant Ctags

xen/Makefile +2 -2
diff -r a8e1da8d6c8f xen/Makefile
@@ -122,10 +122,10 @@
 endef
 
 define set_exuberant_flags
-    exuberant_flags=`$1 --version 2>/dev/null | grep -iq exuberant && \
+    exuberant_flags=`$1 --version 2>/dev/null | (grep -iq exuberant && \
 	echo "-I __initdata,__exitdata,__acquires,__releases \
 	    -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
-	    --extra=+f --c-kinds=+px"`
+	    --extra=+f --c-kinds=+px") || true` 
 endef
 
 .PHONY: xenversion

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel