* Ignore non-existant directories.

svn path=/nixpkgs/trunk/; revision=23026
This commit is contained in:
Eelco Dolstra 2010-08-07 18:41:43 +00:00
parent 49dd595e2d
commit 4ed96dfbc2

View File

@ -108,7 +108,7 @@ sub addPkg($;$) {
my @args = split ' ', $ENV{"paths"};
foreach my $pkgDir (@args) {
addPkg($pkgDir, $ENV{"ignoreCollisions"} eq "1");
addPkg($pkgDir, $ENV{"ignoreCollisions"} eq "1") if -e $pkgDir;
}