summaryrefslogtreecommitdiffstats
path: root/packaging/makeself/jobs/99-makeself.install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/makeself/jobs/99-makeself.install.sh')
-rwxr-xr-xpackaging/makeself/jobs/99-makeself.install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/makeself/jobs/99-makeself.install.sh b/packaging/makeself/jobs/99-makeself.install.sh
index 2695e8eb..3b060838 100755
--- a/packaging/makeself/jobs/99-makeself.install.sh
+++ b/packaging/makeself/jobs/99-makeself.install.sh
@@ -104,13 +104,13 @@ run mkdir -p artifacts
run mv "${NETDATA_INSTALL_PATH}.gz.run" "artifacts/${FILE}"
[ -f "netdata-${BUILDARCH}-latest.gz.run" ] && rm "netdata-${BUILDARCH}-latest.gz.run"
-run ln -s "artifacts/${FILE}" "netdata-${BUILDARCH}-latest.gz.run"
+run cp "artifacts/${FILE}" "netdata-${BUILDARCH}-latest.gz.run"
if [ "${BUILDARCH}" = "x86_64" ]; then
[ -f "netdata-latest.gz.run" ] && rm "netdata-latest.gz.run"
- run ln -s "artifacts/${FILE}" "netdata-latest.gz.run"
+ run cp "artifacts/${FILE}" "netdata-latest.gz.run"
[ -f "artifacts/netdata-${VERSION}.gz.run" ] && rm "netdata-${VERSION}.gz.run"
- run ln -s "./${FILE}" "artifacts/netdata-${VERSION}.gz.run"
+ run cp "artifacts/${FILE}" "artifacts/netdata-${VERSION}.gz.run"
fi
# shellcheck disable=SC2015