Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
Hdlmake
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
15
Issues
15
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Hdlmake
Commits
d1712873
Commit
d1712873
authored
May 20, 2017
by
Javier D. Garcia-Lasheras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't escape quotes chars in the Makefiles for Windows
parent
93ca04b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
make_syn.py
hdlmake/tools/make_syn.py
+0
-2
makefile.py
hdlmake/tools/makefile.py
+4
-1
No files found.
hdlmake/tools/make_syn.py
View file @
d1712873
...
...
@@ -162,8 +162,6 @@ SYN_GRADE := ${syn_grade}
tcl_command
.
append
(
echo_command
.
format
(
command
))
command_string
=
"
\n
"
.
join
(
tcl_command
)
if
path_mod
.
check_windows
():
command_string
=
command_string
.
replace
(
path_mod
.
slash_char
(),
""
)
command_string
=
command_string
.
replace
(
"'"
,
""
)
self
.
writeln
(
"""
\
...
...
hdlmake/tools/makefile.py
View file @
d1712873
...
...
@@ -170,7 +170,10 @@ class ToolMakefile(object):
"""Write a string in the manifest, no new line"""
if
not
self
.
_initialized
:
self
.
initialize
()
self
.
_file
.
write
(
line
)
if
path_mod
.
check_windows
():
self
.
_file
.
write
(
line
.
replace
(
'
\\
"'
,
'"'
))
else
:
self
.
_file
.
write
(
line
)
def
writeln
(
self
,
text
=
None
):
"""Write a string in the manifest, automatically add new line"""
...
...
Write
Preview
Markdown
is supported
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