use $(CURDIR) instead of "..\..\.." because the later does not allow to use

options as --with-zlib=../zlib-1.2.3.  It seems there is no common way
to learn the current directory in Win32 make's: although nmake has MAKEDIR
variable, nevertheless Borland make's MAKEDIR is the directory where make
is installed, and OpenWatcom wmake has no MAKEDIR at all.
This commit is contained in:
Igor Sysoev
2009-05-11 18:02:06 +00:00
parent ec9f47175e
commit 3d746ac4f0
6 changed files with 8 additions and 8 deletions

View File

@@ -35,7 +35,7 @@ case "$NGX_PLATFORM" in
`echo "$SHA1/sha1.lib: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"`
cd `echo $SHA1 | sed -e "s/\//$ngx_regex_dirsep/g"`
\$(MAKE) -f $ngx_makefile $ngx_opt
cd ..\\..\\..
cd \$(CURDIR)
END