1
0
mirror of https://github.com/jakeswenson/BitBetter.git synced 2023-10-10 13:36:57 +02:00

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 <grommish@gmail.com>

* Update update-bitwarden.sh

Co-authored-by: h44z <christoph.h@sprinternet.at>

Co-authored-by: h44z <christoph.h@sprinternet.at>
This commit is contained in:
Grommish 2021-08-31 05:40:37 -04:00 committed by GitHub
parent af2d744061
commit 0f2f9274cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ REBUILD_BB=${tmprebuild:-$REBUILD_BB}
if [[ $REBUILD_BB =~ ^[Yy]$ ]] if [[ $REBUILD_BB =~ ^[Yy]$ ]]
then then
./build.sh $SCRIPT_BASE/build.sh
echo "BitBetter images updated to version: $BW_VERSION" echo "BitBetter images updated to version: $BW_VERSION"
fi fi