python-qt5/pyrcc5.sh
2017-01-30 12:17:12 -06:00

8 lines
186 B
Bash

#!/bin/sh
@PYTHON3@ -c "import PyQt5.pyrcc_main" &> /dev/null
if [ $? -eq 0 ]; then
exec @PYTHON3@ -m PyQt5.pyrcc_main ${1+"$@"}
else
exec @PYTHON2@ -m PyQt5.pyrcc_main ${1+"$@"}
fi