[libpkgconfig-perl] 02/02: Adjust path to ppkg-config in test scripts

Wolfgang Fütterer debian at wlf-online.de
Thu Nov 5 08:11:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

wlfuetter-guest pushed a commit to branch patch-queue/master
in repository libpkgconfig-perl.

commit 9f15ad1a515c948473406f68ac363782c88f3d2f
Author: Wolfgang Fütterer <debian at wlf-online.de>
Date:   Wed Nov 4 13:55:38 2015 +0100

    Adjust path to ppkg-config in test scripts
---
 t/PkgConfigTest.pm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/t/PkgConfigTest.pm b/t/PkgConfigTest.pm
index 5bbc6ba..c9e7d3d 100644
--- a/t/PkgConfigTest.pm
+++ b/t/PkgConfigTest.pm
@@ -43,7 +43,11 @@ $ENV{PKG_CONFIG_PATH} = join($Config{path_sep}, @PC_PATHS);
 our $RV;
 our $S;
 
-my $SCRIPT = $FindBin::Bin . "/../script/ppkg-config";
+my $SCRIPT;
+if -e "/usr/bin/ppkg-config"
+    $SCRIPT="/usr/bin/ppkg-config"
+else
+    $SCRIPT = $FindBin::Bin . "/../script/ppkg-config";
 
 # Work around git on windows' lamentable lack of symbolic
 # link support

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpkgconfig-perl.git



More information about the Pkg-perl-cvs-commits mailing list