Skip to content

Commit

Permalink
Allow running check_deps.sh from a different directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kubrickfr committed Apr 13, 2024
1 parent 97601ad commit 085fe77
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion restore_backup.sh
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ if [ "$EUID" -ne 0 ]
exit 1
fi

./check_deps.sh || exit 3
$(dirname "$0")/check_deps.sh || exit 3

DELETE_PREVIOUS=false

2 changes: 1 addition & 1 deletion stream_backup.sh
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ if [ "$EUID" -ne 0 ]
exit 1
fi

./check_deps.sh || exit 3
$(dirname "$0")/check_deps.sh || exit 3

DELETE_PREVIOUS=false
CHUNK_SIZE="512M"

0 comments on commit 085fe77

Please sign in to comment.