summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch
blob: a8064cfd79264ab929704733f45db4a51932670b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 "$@"; \