From 13034577fcbc6ef2e2bbb900c188799b267a2c95 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Tue, 4 Oct 2016 00:56:01 +0200 Subject: [PATCH] Fix previous commit. --- src/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index dd965091..0d15dac9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -156,12 +156,13 @@ endif # run the UPX testsuite - git clone https://github.com/upx/upx-testsuite.git # you have to set upx_testsuite_SRCDIR +ifneq ($(wildcard $(top_srcdir)/.github/travis_testsuite_1.sh),) ifndef upx_testsuite_SRCDIR # search standard locations below $(top_srcdir) ifneq ($(wildcard $(top_srcdir)/../upx-testsuite.git/files/packed/.),) upx_testsuite_SRCDIR := $(top_srcdir)/../upx-testsuite.git else ifneq ($(wildcard $(top_srcdir)/../upx-testsuite/files/packed/.),) -upx_testsuite_SRCDIR := $(top_srcdir)/../upx-testsuit +upx_testsuite_SRCDIR := $(top_srcdir)/../upx-testsuite endif endif ifneq ($(wildcard $(upx_testsuite_SRCDIR)/files/packed/.),) @@ -172,5 +173,6 @@ run-testsuite: ./upx$(exeext) time -p bash $(top_srcdir)/.github/travis_testsuite_1.sh .PHONY: run-testsuite endif +endif # vim:set ts=8 sw=8 noet: