diff options
| author | Aizistral | 2023-01-02 20:42:13 +0100 |
|---|---|---|
| committer | Aizistral | 2023-01-02 20:42:13 +0100 |
| commit | 8a83c22b0a77f5cf0b345f5c4731fe71f225aec1 (patch) | |
| tree | 609b6c3f417b8790861413c417c54667a0db2ccd /build.gradle | |
| parent | 0de301bfd62f3bb2f816dcaa292c494cae807af1 (diff) | |
Try to fix build on Linux
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index c0fb105..7221a09 100644 --- a/build.gradle +++ b/build.gradle @@ -27,9 +27,11 @@ def createLink(source, target) { new File(target).getParentFile().mkdirs() if (Os.isFamily(Os.FAMILY_WINDOWS)) { + println("Creating link from ${source} to ${target} (Windows)") commandLine "cmd", "/c", "mklink /J \"${target}\" \"${source}\"" } else if (Os.isFamily(Os.FAMILY_UNIX)) { - commandLine "bash", "-c", "ln -s \"${source}\" \"${target}\"" + println("Creating link from ${source} to ${target} (Unix)") + commandLine "sh", "-c", "ln -s \"${source}\" \"${target}\"" } } } catch(Exception e){ |
