Commit fd496f7d authored by Rashad Kanavath's avatar Rashad Kanavath

wrong var used

parent 9f44cb6e
......@@ -124,8 +124,8 @@ class OTBAlgorithmProvider(QgsProcessingProvider):
app_vargs = " $@"
export_cmd = 'export '
first_line = '#!/bin/sh'
env_profile = os.path.join(v, 'otbenv.profile')
otb_app_launcher = os.path.join(v, 'bin', 'otbApplicationLauncherCommandLine')
env_profile = os.path.join(otb_install_dir, 'otbenv.profile')
otb_app_launcher = os.path.join(otb_install_dir, 'bin', 'otbApplicationLauncherCommandLine')
cli_filepath = os.path.join(QgsApplication.qgisSettingsDirPath(), 'processing', 'qgis_otb_cli')
lines = None
gdal_data_dir = None
......
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