diff options
author | Oliver Tappe | 2007-07-28 16:11:27 +0200 |
---|---|---|
committer | Oliver Tappe | 2007-07-28 16:11:27 +0200 |
commit | cbce11c51c6aa5674b01821a7adc7c31f7999c7e (patch) | |
tree | 38fd368f9b9d1a7db30131578d7fb77060d9800d /lib | |
parent | * added example settings file for ubuntu-6.10 (diff) | |
download | core-cbce11c51c6aa5674b01821a7adc7c31f7999c7e.tar.gz core-cbce11c51c6aa5674b01821a7adc7c31f7999c7e.tar.xz core-cbce11c51c6aa5674b01821a7adc7c31f7999c7e.zip |
* 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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/OpenSLX/Utils.pm | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |