Fixed up comments.
This commit is contained in:
parent
459d6ea906
commit
96108cb758
|
@ -114,7 +114,8 @@ namespace NzbDrone.Mono.Disk
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isSameDir)
|
if (isSameDir)
|
||||||
{ // We're in the same dir, so we can preserve relative symlinks.
|
{
|
||||||
|
// We're in the same dir, so we can preserve relative symlinks.
|
||||||
newFile.CreateSymbolicLinkTo(symlinkInfo.ContentsPath);
|
newFile.CreateSymbolicLinkTo(symlinkInfo.ContentsPath);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -142,7 +143,8 @@ namespace NzbDrone.Mono.Disk
|
||||||
var newFile = new UnixSymbolicLinkInfo(destination);
|
var newFile = new UnixSymbolicLinkInfo(destination);
|
||||||
|
|
||||||
if (isSameDir)
|
if (isSameDir)
|
||||||
{ // We're in the same dir, so we can preserve relative symlinks.
|
{
|
||||||
|
// We're in the same dir, so we can preserve relative symlinks.
|
||||||
newFile.CreateSymbolicLinkTo(symlinkInfo.ContentsPath);
|
newFile.CreateSymbolicLinkTo(symlinkInfo.ContentsPath);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue