python-qt5/pyrcc5.sh

8 lines
186 B
Bash
Raw Normal View History

2017-01-27 13:34:22 +00:00
#!/bin/sh
2017-01-30 18:17:12 +00:00
@PYTHON3@ -c "import PyQt5.pyrcc_main" &> /dev/null
2017-01-27 13:34:22 +00:00
if [ $? -eq 0 ]; then
exec @PYTHON3@ -m PyQt5.pyrcc_main ${1+"$@"}
else
exec @PYTHON2@ -m PyQt5.pyrcc_main ${1+"$@"}
fi