From b755dc12f4793f5895c98689f71d1a9ed4f0b9be Mon Sep 17 00:00:00 2001 From: "Asanka C. Herath" Date: Mon, 29 Nov 2010 02:58:42 -0500 Subject: [PATCH] Windows: Fix hcrypto tests on cygwin --- lib/hcrypto/NTMakefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/hcrypto/NTMakefile b/lib/hcrypto/NTMakefile index ceb81ed3f..eced950c6 100644 --- a/lib/hcrypto/NTMakefile +++ b/lib/hcrypto/NTMakefile @@ -216,11 +216,10 @@ $(OBJ)\test_rand.exe: $(OBJ)\test_rand.obj $(LIBHEIMDAL) $(LIBROKEN) $(LIBVERS) $(EXECONLINK) $(EXEPREP_NODIST) -SRCDIR1=$(SRCDIR:\=/) -SRCDIR2=$(SRCDIR1::=) +SRCDIR2=$(SRCDIR:\=\\\\) $(OBJ)\test_crypto.sh: test_crypto.in NTMakefile - $(SED) -e "s,[@]srcdir[@],/$(SRCDIR2),g" -e "s,[@]exeext[@],.exe,g" < test_crypto.in > $@ || $(RM) $@ + $(SED) -e "s,[@]srcdir[@],$(SRCDIR2),g" -e "s,[@]exeext[@],.exe,g" -e "s,\r,," < test_crypto.in > $@ || $(RM) $@ test-run: cd $(OBJ)