Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
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
Julien Cabieces
otb
Commits
315e4ee2
Commit
315e4ee2
authored
5 years ago
by
Guillaume Pasero
Browse files
Options
Downloads
Patches
Plain Diff
BUG: fix otbenv.bat, problem with closing parenthesis in PATH
parent
ae6f572c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Packaging/Files/otbenv.bat
+7
-3
7 additions, 3 deletions
Packaging/Files/otbenv.bat
with
7 additions
and
3 deletions
Packaging/Files/otbenv.bat
+
7
−
3
View file @
315e4ee2
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
:: See the License for the specific language governing permissions and
:: See the License for the specific language governing permissions and
:: limitations under the License.
:: limitations under the License.
@echo
off
:: Setup environment for OTB package
:: Setup environment for OTB package
set
CURRENT_SCRIPT_DIR
=
%~dp0
set
CURRENT_SCRIPT_DIR
=
%~dp0
...
@@ -36,7 +36,11 @@ setlocal enabledelayedexpansion
...
@@ -36,7 +36,11 @@ setlocal enabledelayedexpansion
set
output
=
%
~
2
set
output
=
%
~
2
set
var
=
%
1
set
var
=
%
1
set
content
=
set
content
=
if
defined
%var%
(
set
content
=
!%var%!
)
if
not
defined
%var%
(
goto
:prefix
_path_testcontent
)
if
not
"
%content%
"
==
""
(
set
output
=
%output%
;
%content%
)
set
content
=
!%var%!
:prefix
_path_testcontent
if
"
%content%
"
==
""
(
goto
:prefix
_path_end
)
set
output
=
%output%
;
%content%
:prefix
_path_end
endlocal
&
set
%
1
=
%output%
endlocal
&
set
%
1
=
%output%
goto
:eof
goto
:eof
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