From 921bebba6baa1c9bdab9d7ab6d68ed452d6820a3 Mon Sep 17 00:00:00 2001 From: jerger Date: Sat, 26 Nov 2022 10:39:52 +0100 Subject: [PATCH] lein inst now does all --- project.clj | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/project.clj b/project.clj index 525c99f..48ed69c 100644 --- a/project.clj +++ b/project.clj @@ -40,8 +40,7 @@ "-H:ResourceConfigurationFiles=graalvm-resource-config.json" "-H:Log=registerResource" "-H:Name=target/graalvm/${:name}"] - "inst" ["shell" "sudo" - "install" - "-m=755" - "target/uberjar/c4k-jitsi-standalone.jar" - "/usr/local/bin/c4k-jitsi-standalone.jar"]}) + "inst" ["shell" + "sh" + "-c" + "lein uberjar && sudo install -m=755 target/uberjar/c4k-jitsi-standalone.jar /usr/local/bin/c4k-jitsi-standalone.jar"]})