Skip to content

Commit

Permalink
bak: improve code readability
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavid committed Oct 21, 2023
1 parent bd21aee commit a23e63a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/bak
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
# Makes incremental backups from the first parameter to the second.
# shellcheck disable=SC1091,SC2034 # File not following, appears unused.
readonly \
BASE_APP_VERSION=0.9.20230805 \
BASE_APP_VERSION=0.9.20231021 \
BASE_MIN_VERSION=0.9.20230312
. base.sh
[ "$#" -eq 2 ] || die Usage: bak.sh source destination.
validate_cmd rdiff-backup
readonly \
DST="$2" \
SRC="$1"
iswritable "$DST" || die "$DST" is not writable.
validate_cmd rdiff-backup
isreadable "$SRC" || die "$SRC" is not readable.
iswritable "$DST" || die "$DST" is not writable.
{
rdiff-backup \
--force \
Expand Down

0 comments on commit a23e63a

Please sign in to comment.