diff --git a/contrib/orthorectify/run.sh b/contrib/orthorectify/run.sh index beececcc..f6675893 100755 --- a/contrib/orthorectify/run.sh +++ b/contrib/orthorectify/run.sh @@ -1,3 +1,5 @@ #!/bin/bash +__dirname=$(cd "$(dirname "$0")"; pwd -P) +cd "${__dirname}" -PYTHONPATH=$PYTHONPATH:/code/SuperBuild/install/bin/opensfm python3 orthorectify.py "$@" \ No newline at end of file +PYTHONPATH=$PYTHONPATH:/code/SuperBuild/install/bin/opensfm python3 orthorectify.py "$@"