[libgsf] tests: simplify $topsrc a bit more.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgsf] tests: simplify $topsrc a bit more.
- Date: Wed, 4 Feb 2015 23:36:57 +0000 (UTC)
commit ede2a102d3fbaf3b6b74f6275ba56700235c734d
Author: Morten Welinder <terra gnome org>
Date: Wed Feb 4 18:27:46 2015 -0500
tests: simplify $topsrc a bit more.
tests/LibGsfTest.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/LibGsfTest.pm b/tests/LibGsfTest.pm
index e32f1ee..dbd0244 100644
--- a/tests/LibGsfTest.pm
+++ b/tests/LibGsfTest.pm
@@ -25,6 +25,7 @@ $zipinfo = &find_program ("zipinfo");
$topsrc = $0;
$topsrc =~ s|/[^/]+$|/..|;
+$topsrc =~ s|^\./(.)|$1|;
$topsrc =~ s|/tests/\.\.$||;
$top_builddir = "..";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]