From 356410620a51121d2822e85c4134b90fc5423d0b Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 12 Apr 2019 23:36:48 +0100 Subject: [PATCH] build: Dereference when unpacking for deployment --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index 0a86bc3..8e7876c 100755 --- a/build +++ b/build @@ -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