Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Catherine CALME
qgis-otb-plugin
Commits
93b8aae5
Commit
93b8aae5
authored
Apr 13, 2018
by
Rashad Kanavath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug: wrong ext for wrapper script (*nix)
parent
a9492e17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
otb/OTBAlgorithmProvider.py
otb/OTBAlgorithmProvider.py
+1
-1
No files found.
otb/OTBAlgorithmProvider.py
View file @
93b8aae5
...
...
@@ -140,7 +140,7 @@ class OTBAlgorithmProvider(QgsProcessingProvider):
first_line
=
'#!/bin/sh'
export_cmd
=
'export '
otb_app_launcher
=
os
.
path
.
join
(
v
,
'bin'
,
'otbApplicationLauncherCommandLine'
)
cli_filepath
=
os
.
path
.
join
(
QgsApplication
.
qgisSettingsDirPath
(),
'processing'
,
'qgis_otb_cli
.sh
'
)
cli_filepath
=
os
.
path
.
join
(
QgsApplication
.
qgisSettingsDirPath
(),
'processing'
,
'qgis_otb_cli'
)
if
os
.
name
==
'nt'
:
first_line
=
'@echo off'
export_cmd
=
'set '
...
...
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