[pkg-haskell-tools] 01/01: More PERL5LIB handling

Joachim Breitner nomeata at moszumanska.debian.org
Fri Aug 14 11:58:33 UTC 2015


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

nomeata pushed a commit to branch master
in repository pkg-haskell-tools.

commit da5e36e4060de281273bb52e029634eb6265e24d
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Fri Aug 14 13:58:29 2015 +0200

    More PERL5LIB handling
---
 dht | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dht b/dht
index 2425aad..bcf0be1 100755
--- a/dht
+++ b/dht
@@ -13,7 +13,7 @@ our $DHT_SCRIPT_DIR;
 $ENV{PERL5LIB} = ":$ENV{PERL5LIB}" if $ENV{PERL5LIB};
 if ($Bin eq "/usr/bin") {
 	$DHT_SCRIPT_DIR="/var/lib/pkg-haskell-tools/bin";
-	$ENV{PERL5LIB} = "/var/lib/pkg-haskell-tools/lib" . $ENV{PERL5LIB};
+	$ENV{PERL5LIB} = "/var/lib/pkg-haskell-tools/lib" . ($ENV{PERL5LIB} || "");
 } else {
 	$DHT_SCRIPT_DIR = "$Bin/scripts";
 	$ENV{PERL5LIB} = "$Bin/lib" . ($ENV{PERL5LIB}|| "");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/pkg-haskell-tools.git



More information about the Pkg-haskell-commits mailing list