fix: install script tar flag

This commit is contained in:
Pavel Sviderski
2025-03-03 18:51:41 +10:00
parent 2e49d94fad
commit c3123820b2
+1 -1
View File
@@ -122,7 +122,7 @@ install_uncloud_binaries() {
if ! curl -fsSL -o "${uncloudd_download_path}" "${uncloudd_url}"; then
error "Failed to download uncloudd binary."
fi
tar -xf --directory "${tmp_dir}" "${uncloudd_download_path}"
tar -xf "${uncloudd_download_path}" --directory "${tmp_dir}"
if ! install "${tmp_dir}/uncloudd" "${uncloudd_install_path}"; then
error "Failed to install uncloud binary to ${uncloudd_install_path}"
fi