Commit 7d4df1ed authored by Volker Hilsheimer's avatar Volker Hilsheimer
Browse files

Fix build tree when it contains slashes

parent 30546724
......@@ -34,6 +34,7 @@ if "!PARAM_build!"=="" (
SET "PARAM_build=!projectname!-build"
)
SET "build_dir=!PARAM_build!"
SET "build_dir=%build_dir:/=\%"
SET "target=!PARAM_target!"
SET error=0
......@@ -45,7 +46,7 @@ if DEFINED FLAG_clean (
if NOT EXIST !build_dir! mkdir !build_dir!
cd !build_dir!
echo Building '!projectname!' from '!JOBDIR!' into '%cd%\!build_dir!'
echo Building '!projectname!' from '!JOBDIR!' into '%cd%'
if DEFINED FLAG_reconfigure (
if EXIST build.ninja del build.ninja
......
......@@ -68,7 +68,7 @@ fi
[ -d $build_dir ] || mkdir -p $build_dir &> /dev/null
cd $build_dir
echo "Building '$projectname' from '$JOBDIR' into '$build_dir'"
echo "Building '$projectname' from '$JOBDIR' into '$PWD'"
if [ ! -z $FLAG_reconfigure ]
then
......
Supports Markdown
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