3
0
Fork 0
forked from mirrors/nixpkgs

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

svn path=/nixpkgs/trunk/; revision=77
This commit is contained in:
Eelco Dolstra 2003-06-03 13:03:06 +00:00
parent 93c7c89b1a
commit 8a74e5e56f

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");
}