summaryrefslogtreecommitdiff
path: root/netware
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-10-23 12:56:25 +0200
committerunknown <msvensson@neptunus.(none)>2006-10-23 12:56:25 +0200
commit88e5b3166dc4eb17bd4517fa47346ea2f6fefe4d (patch)
treef48bf5a87927a66ee289a7aef4cf81ac8bf48f4b /netware
parent6ef7516f3e09e8f697decc3265926f2dcac4813e (diff)
downloadmariadb-git-88e5b3166dc4eb17bd4517fa47346ea2f6fefe4d.tar.gz
When looking for libc the path need to be converted from wine to unix format before test that directory exists
Diffstat (limited to 'netware')
-rwxr-xr-xnetware/BUILD/mwenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/netware/BUILD/mwenv b/netware/BUILD/mwenv
index bc797c442ab..a60da17d987 100755
--- a/netware/BUILD/mwenv
+++ b/netware/BUILD/mwenv
@@ -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"