Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alexandru Croitor
minicoin
Commits
7d4df1ed
Commit
7d4df1ed
authored
Mar 04, 2022
by
Volker Hilsheimer
Browse files
Fix build tree when it contains slashes
parent
30546724
Changes
2
Hide whitespace changes
Inline
Side-by-side
minicoin/jobs/build/main.cmd
View file @
7d4df1ed
...
...
@@ -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
...
...
minicoin/jobs/build/main.sh
View file @
7d4df1ed
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment