When looking for libc the path need to be converted from wine to unix format before test that directory exists

This commit is contained in:
unknown 2006-10-23 12:56:25 +02:00
parent 6ef7516f3e
commit 88e5b3166d

View file

@ -27,8 +27,8 @@ WINE_BUILD_DIR="$base/$WINE_BUILD_DIR"
echo "WINE_BUILD_DIR: $WINE_BUILD_DIR"
# Look for libc, MySQL 5.0.x uses libc-2003 by default
libcdir="$MYDEV/libc-2003"
if test ! -d $libcdir
libc_dir="$MYDEV/libc-2003"
if [ ! -d `winepath $libc_dir` ]
then
# The libcdir didn't exist, set default
libc_dir="$MYDEV/libc"