From 577d3f835a9572551e2beb740f0df0b1acb3933c Mon Sep 17 00:00:00 2001 From: Ruben Christoffer Date: Fri, 22 May 2020 14:57:57 +0100 Subject: [PATCH] Fixed critical unix linker bug --- Mklinker/Mklinker.csproj | 2 +- Mklinker/Properties/AssemblyInfo.cs | 6 +++--- Mklinker/UnixLinker.cs | 2 +- publish.bat | 10 +++++----- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Mklinker/Mklinker.csproj b/Mklinker/Mklinker.csproj index e4bcc9e..f6d1afd 100644 --- a/Mklinker/Mklinker.csproj +++ b/Mklinker/Mklinker.csproj @@ -5,7 +5,7 @@ netcoreapp3.1 true mklinker - 2.1.1 + 2.1.2 Mklinker Mklinker is a cross-platform console utility that let's you create multiple symbolic / junction / hard links at once based on a portable config file git diff --git a/Mklinker/Properties/AssemblyInfo.cs b/Mklinker/Properties/AssemblyInfo.cs index 8fa09ae..2868073 100644 --- a/Mklinker/Properties/AssemblyInfo.cs +++ b/Mklinker/Properties/AssemblyInfo.cs @@ -32,8 +32,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.1.1.0")] -[assembly: AssemblyFileVersion("2.1.1.0")] -[assembly: AssemblyInformationalVersion("2.1.1")] +[assembly: AssemblyVersion("2.1.2.0")] +[assembly: AssemblyFileVersion("2.1.2.0")] +[assembly: AssemblyInformationalVersion("2.1.2")] [assembly: InternalsVisibleTo("Mklinker.Tests")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] \ No newline at end of file diff --git a/Mklinker/UnixLinker.cs b/Mklinker/UnixLinker.cs index a6e7f51..23f04c0 100644 --- a/Mklinker/UnixLinker.cs +++ b/Mklinker/UnixLinker.cs @@ -27,7 +27,7 @@ class UnixLinker : ILinker { FileName = "ln", Arguments = $"\"{ resolvedSourcePath }\"" + $" \"{ resolvedTargetPath }\"" + - $" \"{ GetLinkTypeArgument(fileSystem, linkType, resolvedSourcePath) }\"", + $" { GetLinkTypeArgument(fileSystem, linkType, resolvedSourcePath) }", RedirectStandardOutput = true, RedirectStandardError = true, UseShellExecute = false diff --git a/publish.bat b/publish.bat index ad4639a..4bba5b1 100644 --- a/publish.bat +++ b/publish.bat @@ -4,11 +4,11 @@ dotnet restore cd Mklinker dotnet pack -dotnet publish -r win-x64 -c Release -o bin/Mklinker-2.1.1-Win64 /p:PublishSingleFile=true -dotnet publish -r win-x86 -c Release -o bin/Mklinker-2.1.1-Win32 /p:PublishSingleFile=true +dotnet publish -r win-x64 -c Release -o bin/Mklinker-2.1.2-Win64 /p:PublishSingleFile=true +dotnet publish -r win-x86 -c Release -o bin/Mklinker-2.1.2-Win32 /p:PublishSingleFile=true -dotnet publish -r linux-x64 -c Release -o bin/Mklinker-2.1.1-Linux64 /p:PublishSingleFile=true -dotnet publish -r linux-arm -c Release -o bin/Mklinker-2.1.1-LinuxARM /p:PublishSingleFile=true +dotnet publish -r linux-x64 -c Release -o bin/Mklinker-2.1.2-Linux64 /p:PublishSingleFile=true +dotnet publish -r linux-arm -c Release -o bin/Mklinker-2.1.2-LinuxARM /p:PublishSingleFile=true -dotnet publish -r osx-x64 -c Release -o bin/Mklinker-2.1.1-OSX64 /p:PublishSingleFile=true +dotnet publish -r osx-x64 -c Release -o bin/Mklinker-2.1.2-OSX64 /p:PublishSingleFile=true pause \ No newline at end of file