From 0f2f9274cf4805e975021c9bcf5a7448c094d157 Mon Sep 17 00:00:00 2001 From: Grommish Date: Tue, 31 Aug 2021 05:40:37 -0400 Subject: [PATCH] update-bitwarden.sh: Fix relative path (#111) * update-bitwarden.sh: Fix relative path update-bitwarden.sh attempted to update BitBetter via ./build.sh, but if run via crontab, you aren't in the BitBetter directory. Fixed to find it correctly. Signed-off-by: Donald Hoskins * Update update-bitwarden.sh Co-authored-by: h44z Co-authored-by: h44z --- update-bitwarden.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-bitwarden.sh b/update-bitwarden.sh index 6bd9468..691a243 100755 --- a/update-bitwarden.sh +++ b/update-bitwarden.sh @@ -61,7 +61,7 @@ REBUILD_BB=${tmprebuild:-$REBUILD_BB} if [[ $REBUILD_BB =~ ^[Yy]$ ]] then - ./build.sh + $SCRIPT_BASE/build.sh echo "BitBetter images updated to version: $BW_VERSION" fi