From 8a74e5e56fc1fcf0a65a3b064d9829b21d298a4c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 3 Jun 2003 13:03:06 +0000 Subject: [PATCH] * Create the union of all directories, not just ["bin", "lib", ...]. svn path=/nixpkgs/trunk/; revision=77 --- build/populate-linkdirs.pl | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/build/populate-linkdirs.pl b/build/populate-linkdirs.pl index 5f890c2cc5c..9bcdae7f4a8 100755 --- a/build/populate-linkdirs.pl +++ b/build/populate-linkdirs.pl @@ -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"); }