From cbce11c51c6aa5674b01821a7adc7c31f7999c7e Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 28 Jul 2007 14:11:27 +0000 Subject: * changed several class interfaces as a result of trying to integrate support for Debian & Ubunto installation (which is still not complete, though) * fixed some bugs along the way (especially the meta-packagers trying to invoke a private function of OpenSLX::OSSetup::Engine) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1281 95ad53e4-c205-0410-b2fa-d234c58c8868 --- lib/OpenSLX/Utils.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/OpenSLX/Utils.pm b/lib/OpenSLX/Utils.pm index fdb1192c..bb24f961 100644 --- a/lib/OpenSLX/Utils.pm +++ b/lib/OpenSLX/Utils.pm @@ -169,9 +169,11 @@ sub copyBinaryWithRequiredLibs { vlog(2, "slxldd results:\n$requiredLibsStr"); foreach my $lib (split "\n", $requiredLibsStr) { - vlog(3, "copying lib '$lib'"); my $libDir = dirname($lib); - copyFile($lib, "$params->{libTargetFolder}$libDir"); + my $targetLib = "$params->{libTargetFolder}$libDir"; +# next if -e $targetLib; + vlog(3, "copying lib '$lib'"); + copyFile($lib, $targetLib); } return $requiredLibsStr; } @@ -212,8 +214,6 @@ sub chrootInto # ...do chroot chroot "." or die _tr("unable to chroot into '%s' (%s)\n", $osDir, $!); - - $ENV{PATH} = "/bin:/sbin:/usr/bin:/usr/sbin"; return; } -- cgit v1.2.3-55-g7522