generic-poky/meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch

14 lines
384 B
Diff

Index: ltp-20120401/Makefile
===================================================================
--- ltp-20120401.orig/Makefile
+++ ltp-20120401/Makefile
@@ -173,7 +173,7 @@ SRCDIR_INSTALL_TARGETS := $(SRCDIR_INSTA
#
.PHONY: Version
Version:
- if git describe &> /dev/null; then \
+ if git describe > /dev/null 2>&1; then \
git describe > "$@"; \
else \
cp VERSION "$@"; \