From 1ee683812c61bd27acb18ddb48a5df38486712e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 20 May 2014 13:41:14 +0000 Subject: [PATCH] qt tools don't work in fedora/opensuse - typo; refs #40 --- proxyface.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" \