let's not fork too much
authorSimon Stelling <blubb@gentoo.org>
Sun, 27 Aug 2006 19:46:27 +0000 (19:46 -0000)
committerSimon Stelling <blubb@gentoo.org>
Sun, 27 Aug 2006 19:46:27 +0000 (19:46 -0000)
svn path=/main/trunk/; revision=4355

bin/misc-functions.sh

index 8b6d88e92b1b4bef19973ae4680376e5e112b27e..d68eee4e4cda9f1323b20f55285b1137704f296d 100755 (executable)
@@ -204,8 +204,8 @@ install_qa_check() {
                for dir in ${MULTILIB_STRICT_DIRS}; do
                        [ -d "${D}/${dir}" ] || continue
                        for file in $(find ${D}/${dir} -type f | grep -v "^${D}/${dir}/${MULTILIB_STRICT_EXEMPT}"); do
-                               if $(file ${file} | egrep -q "${MULTILIB_STRICT_DENY}") ; then
-                                       if [[ ${firstrun} == "yes" ]] ; then
+                               if file ${file} | egrep -q "${MULTILIB_STRICT_DENY}" ; then
+                                       if [[ ${firstrun} == yes ]] ; then
                                                echo "Files matching a file type that is not allowed:"
                                                firstrun=no
                                        fi