From cef1ff3dcc569e2e45ff9033467fe9adf38c19c8 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Mon, 14 Feb 2011 23:51:11 +0100 Subject: [PATCH] Fix: extract empty path relative to $ORIGIN --- src/lib/searchpath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/searchpath.cpp b/src/lib/searchpath.cpp index 393c16b66..d328a388b 100644 --- a/src/lib/searchpath.cpp +++ b/src/lib/searchpath.cpp @@ -39,7 +39,7 @@ namespace lib { - regex SearchPathSplitter::EXTRACT_PATHSPEC ("(\\$?ORIGIN/)?([^:]+)"); + regex SearchPathSplitter::EXTRACT_PATHSPEC ("(\\$?ORIGIN/?)?([^:]*)"); /** @internal helper to figure out the installation directory,