On 06/06/2012 03:29 PM, Iorga, Cristian wrote:
> ltp: Add patch to correct failing build from archive
> 
>  
> 
> Signed-off-by: Cristian Iorga <[email protected]>

Thanks Cristian, this already fixed in upstream.
refer to, 
https://github.com/linux-test-project/ltp/commit/dbd8b819c293d001b6ee6cb879871833ab23af8b

Wanlong Gao

> 
> 
> fix_building_fom_archive.patch
> 
> 
> ltp: Add patch to correct failing build
>     
>     ltp makefile does not interpret correctly the result of git describe
>     command and assumes that it is working with a git repo, while in fact
>     working with a source code archive.
>     Added a patch to corect makefile system.
>     Tested using dash as shell.
> 
> Signed-off-by: Cristian Iorga <[email protected]>
> 
> 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 "$@"; \



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to