diff --git a/proxyface.spec.in b/proxyface.spec.in index 06cb064..5f4728d 100644 --- a/proxyface.spec.in +++ b/proxyface.spec.in @@ -23,7 +23,7 @@ This package contains only the shared libraries required at runtime. %prep %setup -q function checkqt() { - which /usr/bin/$1 || /usr/bin/$1-qt5 || /usr/bin/$1-qt4 + ( which /usr/bin/$1 || which /usr/bin/$1-qt5 || which /usr/bin/$1-qt4 ) 2>/dev/null } MOC="$(checkqt moc)" UIC="$(checkqt uic)" RCC="$(checkqt rcc)" \ LUPDATE="$(checkqt lupdate)" LRELEASE="$(checkqt lrelease)" \