This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit d5a84f933049cf1959ef7f101b8996f5b6848983 Author: Mihai Moldovan <ionic@ionic.de> Date: Sun Oct 30 06:19:04 2016 +0100 bin/create_package_descr: because use statements are executed in BEGIN blocks, pass basename of current script directly to 'use lib'. --- bin/create_package_descr | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/create_package_descr b/bin/create_package_descr index 8edc40b..744ee7a 100755 --- a/bin/create_package_descr +++ b/bin/create_package_descr @@ -34,10 +34,7 @@ $| = 1; use File::Basename; use Cwd 'abs_path'; -my $script_path = abs_path ($0); -my (undef, $script_path, undef) = fileparse ($script_path); - -use lib "$script_path/../perl/modules"; +use lib (fileparse (abs_path ($0)))[1] . "/../perl/modules"; use File::stat; use FileHandle; -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git