From a23468eb24cbc9f977a81741786bb7ec6979da7e Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Thu, 13 May 2021 13:38:34 +0930 Subject: [PATCH] fix: zip path --- dynamix.unraid.net.plg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamix.unraid.net.plg b/dynamix.unraid.net.plg index b6e433a35..d6e811e83 100644 --- a/dynamix.unraid.net.plg +++ b/dynamix.unraid.net.plg @@ -188,7 +188,7 @@ _install() { # If this was downloaded from a Github action it'll be a zip with a tgz inside # Let's extract the tgz and rename it for the next step if [[ -f "$node_base_directory/unraid-api.zip" ]]; then - for f in *.zip; do unzip -p "$f" > "${f%.zip}.tgz"; done + for f in ${flash}/unraid-api.zip; do unzip -p "$f" > "${flash}/${f%.zip}.tgz"; done rm -f $node_base_directory/unraid-api.zip fi