Skip to content

Commit

Permalink
correct QGIS3 paths (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghtmtt committed Dec 23, 2021
1 parent 904dbf2 commit 3187981
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/run-env-linux.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

QGIS_PREFIX_PATH=/usr/local/qgis-2.0
QGIS_PREFIX_PATH=/usr/local/qgis-3.0
if [ -n "$1" ]; then
QGIS_PREFIX_PATH=$1
fi
Expand All @@ -11,7 +11,7 @@ echo ${QGIS_PREFIX_PATH}
export QGIS_PREFIX_PATH=${QGIS_PREFIX_PATH}
export QGIS_PATH=${QGIS_PREFIX_PATH}
export LD_LIBRARY_PATH=${QGIS_PREFIX_PATH}/lib
export PYTHONPATH=${QGIS_PREFIX_PATH}/share/qgis/python:${QGIS_PREFIX_PATH}/share/qgis/python/plugins:${PYTHONPATH}
export PYTHONPATH=${QGIS_PREFIX_PATH}/share/qgis/python:${QGIS_PREFIX_PATH}/python:${QGIS_PREFIX_PATH}/python/plugins:${PYTHONPATH}

echo "QGIS PATH: $QGIS_PREFIX_PATH"
export QGIS_DEBUG=0
Expand All @@ -20,9 +20,9 @@ export QGIS_LOG_FILE=/tmp/inasafe/realtime/logs/qgis.log
export PATH=${QGIS_PREFIX_PATH}/bin:$PATH

echo "This script is intended to be sourced to set up your shell to"
echo "use a QGIS 2.0 built in $QGIS_PREFIX_PATH"
echo "use a QGIS 3.0 built in $QGIS_PREFIX_PATH"
echo
echo "To use it do:"
echo "source $BASH_SOURCE /your/optional/install/path"
echo
echo "Then use the make file supplied here e.g. make guitest"
echo "Then use the make file supplied here e.g. make guitest"

0 comments on commit 3187981

Please sign in to comment.