Commit 5be953f8 authored by unknown's avatar unknown

netware/BUILD/nwbootstrap : Editing "mwenv" is now obsolete and even plain wrong - drop it.


netware/BUILD/nwbootstrap:
  Editing "mwenv" is now obsolete,
  as this file gets its variable settings from the environment already;
  and it is even plain wrong,
  because the assignments to those variables are written in such a way that
  replacing the variables by values (as tried here) yields invalid shell lines.
parent 344db8ab
...@@ -25,7 +25,7 @@ revision="" ...@@ -25,7 +25,7 @@ revision=""
rev="" rev=""
build="" build=""
suffix="" suffix=""
mwenv="" #obsolete mwenv=""
# show usage # show usage
show_usage() show_usage()
...@@ -151,14 +151,14 @@ echo "making files writable..." ...@@ -151,14 +151,14 @@ echo "making files writable..."
cd $target_dir cd $target_dir
chmod -R u+rw,g+rw . chmod -R u+rw,g+rw .
# edit the mvenv file #obsolete # edit the mvenv file
echo "updating the mwenv environment file..." #obsolete echo "updating the mwenv environment file..."
mwenv="./netware/BUILD/mwenv" #obsolete mwenv="./netware/BUILD/mwenv"
mv -f $mwenv $mwenv.org #obsolete mv -f $mwenv $mwenv.org
sed -e "s;WINE_BUILD_DIR;$wine_build_dir;g" \ #obsolete sed -e "s;WINE_BUILD_DIR;$wine_build_dir;g" \
-e "s;BUILD_DIR;$build_dir;g" \ #obsolete -e "s;BUILD_DIR;$build_dir;g" \
-e "s;VERSION;$version;g" $mwenv.org > $mwenv #obsolete -e "s;VERSION;$version;g" $mwenv.org > $mwenv
chmod +rwx $mwenv #obsolete chmod +rwx $mwenv
# edit the def file versions # edit the def file versions
echo "updating *.def file versions..." echo "updating *.def file versions..."
......
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