* Create the union of all directories, not just ["bin", "lib", ...].

svn path=/nixpkgs/trunk/; revision=77
gstqt5
Eelco Dolstra 2003-06-03 13:03:06 +00:00
parent 93c7c89b1a
commit 8a74e5e56f
1 changed files with 1 additions and 11 deletions

View File

@ -5,14 +5,6 @@ use Cwd;
my $selfdir = cwd;
my @dirs = ("bin", "sbin", "lib", "include", "man");
# Create the subdirectories.
mkdir $selfdir, 0755;
foreach my $dir (@dirs) {
mkdir "$selfdir/$dir", 0755;
}
# For each activated package, create symlinks.
sub createLinks {
@ -52,7 +44,5 @@ foreach my $name (keys %ENV) {
print "merging $pkgdir\n";
foreach my $dir (@dirs) {
createLinks("$pkgdir/$dir", "$selfdir/$dir");
}
createLinks("$pkgdir", "$selfdir");
}