Commit 93b8aae5 authored by Rashad Kanavath's avatar Rashad Kanavath

bug: wrong ext for wrapper script (*nix)

parent a9492e17
...@@ -140,7 +140,7 @@ class OTBAlgorithmProvider(QgsProcessingProvider): ...@@ -140,7 +140,7 @@ class OTBAlgorithmProvider(QgsProcessingProvider):
first_line = '#!/bin/sh' first_line = '#!/bin/sh'
export_cmd = 'export ' export_cmd = 'export '
otb_app_launcher = os.path.join(v, 'bin', 'otbApplicationLauncherCommandLine') 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': if os.name == 'nt':
first_line = '@echo off' first_line = '@echo off'
export_cmd = 'set ' export_cmd = 'set '
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment