From 1834916a59b840ad62d554be4d2de2c78ad5ecef Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 31 Jan 2021 11:44:23 +0100 Subject: [PATCH] Update run.sh --- addons_updater/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons_updater/run.sh b/addons_updater/run.sh index bc68678ff..0231d6f7e 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -60,7 +60,7 @@ fi #Change all instances of version bashio::log.info "... $SLUG : updating files" - files=$(grep -rl ${CURRENT} /${BASENAME}/${SLUG}) && echo $files | xargs sed -i "s/${CURRENT}/${LASTVERSION}/g" + files=$(grep -rl ${CURRENT} /data/${BASENAME}/${SLUG}) && echo $files | xargs sed -i "s/${CURRENT}/${LASTVERSION}/g" if [ $files != null ]; then git commit -m "Bot update to $LASTVERSION" $files || true