[PATCH 2/7] Fix the sed regexp: we want to match "lib" followed by : or at the end

Thiago Macieira thiago at macieira.org
Fri Oct 11 11:05:38 UTC 2013


There was one extra backslash that got passed to sed, which meant it
matched a literal dollar sign.

Signed-off-by: Thiago Macieira <thiago at macieira.org>
---
 subsurface-install.pri | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subsurface-install.pri b/subsurface-install.pri
index ead1fd2..12da7e1 100644
--- a/subsurface-install.pri
+++ b/subsurface-install.pri
@@ -54,7 +54,7 @@ mac {
 
     !win32-msvc* {
         #!equals($$QMAKE_HOST.os, "Windows"): dlls.commands += OBJDUMP=`$$QMAKE_CC -dumpmachine`-objdump
-        dlls.commands += PATH=\$\$PATH:`$$QMAKE_CC -print-search-dirs | sed -nE \'/^libraries: =/{s///;s,/lib/?(:|\\\$\$),/bin\\1,g;p;q;}\'`
+        dlls.commands += PATH=\$\$PATH:`$$QMAKE_CC -print-search-dirs | sed -nE \'/^libraries: =/{s///;s,/lib/?(:|\$\$),/bin\\1,g;p;q;}\'`
         dlls.commands += perl $$PWD/scripts/win-ldd.pl $(DESTDIR_TARGET)
 
         for(plugin, $$list($$DEPLOYMENT_PLUGIN)) {
-- 
1.7.11.7



More information about the subsurface mailing list