* Set the right priorities when recovering from a directory

collision.
This commit is contained in:
Eelco Dolstra 2007-05-02 19:38:02 +00:00
parent 34d4c9388b
commit 30beeb27a9

View file

@ -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);
} }