feat: Rename variable local_target to __main_target
This commit is contained in:
parent
c764914fad
commit
1e69c9b497
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user