Browse Source

build: Dereference when unpacking for deployment

pull/35/head
Starbeamrainbowlabs 4 years ago
parent
commit
356410620a
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 2
      build

2
build

@ -312,7 +312,7 @@ task_deploy() { @@ -312,7 +312,7 @@ task_deploy() {
subtask_end $? "Error: Failed to create temporary directory";
subtask_begin "Unpacking release files";
execute tar -xf "${ARCHIVE}/Air-Quality-Web.tar.gz" -C "${temp_dir}";
execute tar -hxf "${ARCHIVE}/Air-Quality-Web.tar.gz" -C "${temp_dir}";
subtask_end $? "Failed to unpack release files";
rm -r "${temp_dir}/data"; # Delete the default data directory - there's one on the server already
# Define the directory whose contents we want to upload

Loading…
Cancel
Save