forked from lix-project/lix
* Set the right priorities when recovering from a directory
collision.
This commit is contained in:
parent
34d4c9388b
commit
30beeb27a9
|
@ -55,7 +55,7 @@ sub createLinks {
|
||||||
unlink $dstFile or die "error unlinking `$dstFile': $!";
|
unlink $dstFile or die "error unlinking `$dstFile': $!";
|
||||||
mkdir $dstFile, 0755 ||
|
mkdir $dstFile, 0755 ||
|
||||||
die "error creating directory `$dstFile': $!";
|
die "error creating directory `$dstFile': $!";
|
||||||
createLinks($target, $dstFile, $priority); # !!! <- priority isn't right
|
createLinks($target, $dstFile, $priorities{$dstFile});
|
||||||
createLinks($srcFile, $dstFile, $priority);
|
createLinks($srcFile, $dstFile, $priority);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue