mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 06:40:57 +00:00
Don't use Path.Combine for Linux paths
This commit is contained in:
parent
c54cbb4cbe
commit
80a99ce69f
1 changed files with 2 additions and 2 deletions
|
@ -297,7 +297,7 @@ namespace Jackett.Common.Services
|
|||
// When the files get extracted, the execute permission for jackett and JackettUpdater don't get carried across
|
||||
|
||||
//jackett executable
|
||||
string jackettPath = Path.Combine(tempDir, "/Jackett/jackett");
|
||||
string jackettPath = tempDir + "/Jackett/jackett";
|
||||
logger.Debug($"Giving execute permission to jackett from: {jackettPath}");
|
||||
|
||||
UnixFileInfo jackettFI = new UnixFileInfo(jackettPath)
|
||||
|
@ -306,7 +306,7 @@ namespace Jackett.Common.Services
|
|||
};
|
||||
|
||||
//JackettUpdater executable
|
||||
string jackettUpdaterPath = Path.Combine(tempDir + "/Jackett/JackettUpdater");
|
||||
string jackettUpdaterPath = tempDir + "/Jackett/JackettUpdater";
|
||||
logger.Debug($"Giving execute permission to JackettUpdater from: {jackettUpdaterPath}");
|
||||
|
||||
UnixFileInfo jackettUpdaterFI = new UnixFileInfo(jackettUpdaterPath)
|
||||
|
|
Loading…
Reference in a new issue