QGIS/scripts/pyuic_wrapper.sh
Nyall Dawson 85d543a739 Rename scripts to swap "-" for "_" for consistency
We had a confusing and unpredictable mix of script names with
- vs _, e.g. scripts/prepare-commit.sh vs scripts/sipify_all.sh

This unifies with the preferred _ convention for script file names
2020-04-28 02:22:33 +10:00

26 lines
1.0 KiB
Bash
Executable File

#!/bin/sh
###########################################################################
# pyuic_wrapper.sh
# ---------------------
# Date : March 2016
# Copyright : (C) 2016 by Juergen E. Fischer
# Email : jef at norbit dot de
###########################################################################
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################
LD_LIBRARY_PATH=$2:$LD_LIBRARY_PATH
PYTHONPATH=$3:$PYTHONPATH
PYTHON=$4
shift 4
export LD_LIBRARY_PATH PYTHONPATH
exec $PYTHON $(dirname $0)/pyuic_wrapper.py "$@"