Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
ROS Java Build Tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CeTI
ROS
ROS Java Packages
ROS Java Build Tools
Commits
793da542
Unverified
Commit
793da542
authored
4 years ago
by
Leroy Rügemer
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1 from mvieth/clf
Fix quotations marks in exported variable
parents
153a2798
6c6df87f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
generate_environment_variables.py
+5
-5
5 additions, 5 deletions
generate_environment_variables.py
with
5 additions
and
5 deletions
generate_environment_variables.py
+
5
−
5
View file @
793da542
...
...
@@ -19,10 +19,10 @@ def parse_arguments():
return
args
MAVEN_HEADER
=
"""
<settings xmlns=
'
http://maven.apache.org/SETTINGS/1.0.0/
'
xmlns:xsi=
'
http://www.w3.org/2001/XMLSchema-instance
'
xsi:schemaLocation=
'
http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd
'
>
<settings xmlns=
"
http://maven.apache.org/SETTINGS/1.0.0/
"
xmlns:xsi=
"
http://www.w3.org/2001/XMLSchema-instance
"
xsi:schemaLocation=
"
http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd
"
>
<profiles>
<profile>
<id>catkin</id>
...
...
@@ -144,6 +144,6 @@ if __name__ == '__main__':
print
(
home
)
elif
args
.
create_maven_settings
:
s
=
(
MAVEN_HEADER
+
get_repositories_xml
()
+
MAVEN_FOOTER
)
print
(
repr
(
s
)[
1
:
-
1
]
.
replace
(
"'"
,
"
\\
'"
)
)
print
(
repr
(
s
)[
1
:
-
1
])
else
:
print
(
"
Nothing to see here - please provide one of the valid command switches.
"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment