summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2003-06-03 13:03:06 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2003-06-03 13:03:06 +0000
commit8a74e5e56fc1fcf0a65a3b064d9829b21d298a4c (patch)
treec509779fa69b1da60a053d69ec850d0d766129d7
parent93c7c89b1a92afbe1ff33037e49047a6a8c801b9 (diff)
* Create the union of all directories, not just ["bin", "lib", ...]. 0.1
svn path=/nixpkgs/trunk/; revision=77
-rwxr-xr-xbuild/populate-linkdirs.pl12
1 files changed, 1 insertions, 11 deletions
diff --git a/build/populate-linkdirs.pl b/build/populate-linkdirs.pl
index 5f890c2cc5c2f..9bcdae7f4a8bc 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");
 }