summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch')
-rw-r--r--meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch b/meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch
new file mode 100644
index 0000000000..a8064cfd79
--- /dev/null
+++ b/meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch
@@ -0,0 +1,13 @@
1Index: ltp-20120401/Makefile
2===================================================================
3--- ltp-20120401.orig/Makefile
4+++ ltp-20120401/Makefile
5@@ -173,7 +173,7 @@ SRCDIR_INSTALL_TARGETS := $(SRCDIR_INSTA
6 #
7 .PHONY: Version
8 Version:
9- if git describe &> /dev/null; then \
10+ if git describe > /dev/null 2>&1; then \
11 git describe > "$@"; \
12 else \
13 cp VERSION "$@"; \