Make pipping happy and allow the broken install_name check not to die
authorFabian Groffen <grobian@gentoo.org>
Thu, 15 Nov 2007 22:00:22 +0000 (22:00 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 15 Nov 2007 22:00:22 +0000 (22:00 -0000)
svn path=/main/branches/prefix/; revision=8510

bin/misc-functions.sh

index d64ee2c97c66a06b9ed2c26f078bb36039d6ecc4..f2779edf00ceed8bbdc58a98511353e3d9482ffd 100644 (file)
@@ -353,7 +353,11 @@ install_qa_check() {
                                else
                                        eqawarn "QA Notice: invalid reference to ${r} in ${f}"
                                        # remember we are in an implicit subshell, that's
-                                       # why we die here
+                                       # why we die here ... ideally we should be able to
+                                       # die correctly/nicely here
+                                       # secret switch "allow_broken_install_names" to get
+                                       # around this and install broken crap (not a good idea)
+                                       hasq allow_broken_install_names ${FEATURES} && \
                                        die "invalid install_name found, ${f} will crash at runtime -- there may be possibly more affected files"
                                fi
                        fi