From 1e69c9b497c9df3f62b0cd7bcc74c5bac0e759ed Mon Sep 17 00:00:00 2001 From: ge Date: Sat, 14 May 2022 20:07:39 +0300 Subject: [PATCH] feat: Rename variable local_target to __main_target --- src/lib/source.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/source.sh b/src/lib/source.sh index d1c39ea..007b555 100644 --- a/src/lib/source.sh +++ b/src/lib/source.sh @@ -37,7 +37,7 @@ validate_sources() { } validate_targets() { - # Check targets array and set local_target variable. + # Check targets array and set __main_target variable. # # Usage: validate_targets ARRAY @@ -65,9 +65,9 @@ validate_targets() { "You must provide one or more targets with 'file' scheme." >&2 exit 1 else - # Set local_target. This variable contains path to save local backups. + # Set __main_target. This variable contains path to save local backups. # Files to additional targets will be coped from this directory. - local_target="${file_targets[0]}" + __main_target="${file_targets[0]}" fi }