Commit 792b2b6b authored by unknown's avatar unknown

Fir problem with winepath in mwenv


netware/BUILD/mwenv:
  Add extra / after $base for winepath to work correctly
  Add / between $base and WINE_BUILD_DIR
parent 83717cb7
...@@ -21,9 +21,9 @@ echo "BUILD_DIR: $BUILD_DIR" ...@@ -21,9 +21,9 @@ echo "BUILD_DIR: $BUILD_DIR"
# Get current dir in wine format # Get current dir in wine format
base=`echo $MYDEV |sed 's/\/.*//'` base=`echo $MYDEV |sed 's/\/.*//'`
base_unix_part=`winepath -- -u $base` base_unix_part=`winepath -- -u $base/`
WINE_BUILD_DIR=`echo "$BUILD_DIR" | sed 's_'$base_unix_part'/__'` WINE_BUILD_DIR=`echo "$BUILD_DIR" | sed 's_'$base_unix_part'/__'`
WINE_BUILD_DIR="$base$WINE_BUILD_DIR" WINE_BUILD_DIR="$base/$WINE_BUILD_DIR"
echo "WINE_BUILD_DIR: $WINE_BUILD_DIR" echo "WINE_BUILD_DIR: $WINE_BUILD_DIR"
export MWCNWx86Includes="$MYDEV/libc/include;$MYDEV/fs64/headers;$MYDEV/zlib-1.2.3;$WINE_BUILD_DIR/include;$MYDEV" export MWCNWx86Includes="$MYDEV/libc/include;$MYDEV/fs64/headers;$MYDEV/zlib-1.2.3;$WINE_BUILD_DIR/include;$MYDEV"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment