see if cp -rp works on Mac

This commit is contained in:
Anton Keks 2023-02-11 12:08:09 +02:00
parent ece7cd6edc
commit dfc7fb8a1e

View File

@ -220,7 +220,7 @@ def rpm(def platform, def arch) {
def macLauncher(def platform) {
def dist = buildDir.path + '/libs'
def name = 'Angry IP Scanner'
exec("cp -ra ext/mac-bundle/. $dist")
exec("cp -rp ext/mac-bundle/. $dist")
ant.copy(todir: dist) {
ant.fileset(dir: "ext/mac-bundle")
}