[X2Go-Commits] [buildscripts] 01/02: bin/create_package_descr: add 'use lib' statement to load the embedded 'vendor' module.
git-admin at x2go.org
git-admin at x2go.org
Sat Oct 29 23:27:36 CEST 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 17c6e93d380e07e5a20853f35aab152a6f959d2e
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Oct 29 05:51:14 2016 +0200
bin/create_package_descr: add 'use lib' statement to load the embedded 'vendor' module.
---
bin/create_package_descr | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/bin/create_package_descr b/bin/create_package_descr
index ada467d..a15fc0b 100755
--- a/bin/create_package_descr
+++ b/bin/create_package_descr
@@ -30,6 +30,15 @@ BEGIN {
$| = 1;
+# We need "use lib" to pull in our copied "vendor" modules.
+use File::Basename;
+use Cwd 'abs_path';
+
+my $script_path = abs_path ($0);
+$script_path = dirname (script_path);
+
+use lib "$script_path/../perl/modules"
+
use File::stat;
use FileHandle;
use strict;
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list