From 21eb8734593ccad71b1f573bb51e6d8a57f2e435 Mon Sep 17 00:00:00 2001 From: Donald Hoskins Date: Wed, 18 Aug 2021 08:48:12 -0400 Subject: [PATCH] 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-bitwarden.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-bitwarden.sh b/update-bitwarden.sh index 6bd9468..1dfc4ff 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 + $BITWARDEN_BASE/BitBetter/build.sh echo "BitBetter images updated to version: $BW_VERSION" fi