File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111# not expressly granted therein are reserved by Shotgun Software Inc.
1212
1313# The path to where the PySide binaries are installed
14- PYTHON_BASE=" /Applications/Shotgun.app/Contents/Resources/Python/bin "
14+ PYTHON_BASE=" /Applications/Shotgun.app/Contents/Resources/Python"
1515
1616# Remove any problematic profiles from pngs.
1717for f in * .png; do mogrify $f ; done
@@ -24,15 +24,15 @@ function build_qt {
2424 $1 $2 > $UI_PYTHON_PATH /$3 .py
2525
2626 # replace PySide imports with tank.platform.qt and remove line containing Created by date
27- sed -i " " -e " s/from PySide import/from tank.platform.qt import/g" -e " /# Created:/d" $UI_PYTHON_PATH / $3 .py
27+ sed -i $UI_PYTHON_PATH / $3 .py -e " s/from PySide import/from tank.platform.qt import/g" -e " /# Created:/d"
2828}
2929
3030function build_ui {
31- build_qt " ${PYTHON_BASE} /python ${PYTHON_BASE} /pyside-uic --from-imports" " $1 .ui" " $1 "
31+ build_qt " ${PYTHON_BASE} /bin/ python ${PYTHON_BASE} /bin /pyside-uic --from-imports" " $1 .ui" " $1 "
3232}
3333
3434function build_res {
35- build_qt " ${PYTHON_BASE} /pyside-rcc -py3" " $1 .qrc" " $1 _rc"
35+ build_qt " ${PYTHON_BASE} /bin/ pyside-rcc -py3" " $1 .qrc" " $1 _rc"
3636}
3737
3838
Original file line number Diff line number Diff line change 1111# not expressly granted therein are reserved by Shotgun Software Inc.
1212
1313# The path to where the PySide binaries are installed
14- PYTHON_BASE=" /Applications/Shotgun.app/Contents/Resources/Python/bin "
14+ PYTHON_BASE=" /Applications/Shotgun.app/Contents/Resources/Python"
1515
1616# Remove any problematic profiles from pngs.
1717for f in * .png; do mogrify $f ; done
@@ -24,15 +24,15 @@ function build_qt {
2424 $1 $2 > $UI_PYTHON_PATH /$3 .py
2525
2626 # replace PySide imports with tank.platform.qt and remove line containing Created by date
27- sed -i " " -e " s/from PySide import/from tank.platform.qt import/g" -e " /# Created:/d" $UI_PYTHON_PATH / $3 .py
27+ sed -i $UI_PYTHON_PATH / $3 .py -e " s/from PySide import/from tank.platform.qt import/g" -e " /# Created:/d"
2828}
2929
3030function build_ui {
31- build_qt " ${PYTHON_BASE} /python ${PYTHON_BASE} /pyside-uic --from-imports" " $1 .ui" " $1 "
31+ build_qt " ${PYTHON_BASE} /bin/ python ${PYTHON_BASE} /bin /pyside-uic --from-imports" " $1 .ui" " $1 "
3232}
3333
3434function build_res {
35- build_qt " ${PYTHON_BASE} /pyside-rcc -py3" " $1 .qrc" " $1 _rc"
35+ build_qt " ${PYTHON_BASE} /bin/ pyside-rcc -py3" " $1 .qrc" " $1 _rc"
3636}
3737
3838
You can’t perform that action at this time.
0 commit comments