mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
* Ignore non-existant directories.
svn path=/nixpkgs/trunk/; revision=23026
This commit is contained in:
parent
49dd595e2d
commit
4ed96dfbc2
@ -108,7 +108,7 @@ sub addPkg($;$) {
|
|||||||
my @args = split ' ', $ENV{"paths"};
|
my @args = split ' ', $ENV{"paths"};
|
||||||
|
|
||||||
foreach my $pkgDir (@args) {
|
foreach my $pkgDir (@args) {
|
||||||
addPkg($pkgDir, $ENV{"ignoreCollisions"} eq "1");
|
addPkg($pkgDir, $ENV{"ignoreCollisions"} eq "1") if -e $pkgDir;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user