From 3658137a1cafe9730b344ff7303b563e1d76adb3 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Tue, 6 Oct 2020 18:18:40 +0200 Subject: [PATCH] bugfix: fix introduced bug in fe941f4 --- scripts/install_dwc2.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install_dwc2.sh b/scripts/install_dwc2.sh index 84f09e2..3ba1ef2 100755 --- a/scripts/install_dwc2.sh +++ b/scripts/install_dwc2.sh @@ -188,10 +188,10 @@ patch_klipper_sysfile_dwc2(){ download_dwc2_webui(){ #get Duet Web Control - GET_DWC2_URL=`curl -s https://api.github.com/repositories/28820678/releases/latest | grep browser_download_url | cut -d'"' -f4` + GET_DWC2_URL=$(curl -s https://api.github.com/repositories/28820678/releases/latest | grep browser_download_url | cut -d'"' -f4) cd $DWC2_DIR status_msg "Downloading DWC2 Web UI ..." - wget -O $GET_DWC2_URL + wget $GET_DWC2_URL ok_msg "Download complete!" status_msg "Unzipping archive ..." unzip -q -o *.zip