File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,15 +190,15 @@ fn_backup_prune() {
190
190
fn_backup_relpath () {
191
191
# Written by CedarLUG as a "realpath --relative-to" alternative in bash.
192
192
# Populate an array of tokens initialized from the rootdir components.
193
- mapfile -t rdirtoks < <( readlink -f " ${rootdir} " | sed " s/\// /g" )
193
+ declare -a rdirtoks=( $( readlink -f " ${rootdir} " | sed " s/\// /g" ) )
194
194
if [ ${# rdirtoks[@]} -eq 0 ]; then
195
195
fn_print_fail_nl " Problem assessing rootdir during relative path assessment"
196
196
fn_script_log_fail " Problem assessing rootdir during relative path assessment: ${rootdir} "
197
197
core_exit.sh
198
198
fi
199
199
200
200
# Populate an array of tokens initialized from the backupdir components.
201
- mapfile -t bdirtoks < <( readlink -f " ${backupdir} " | sed " s/\// /g" )
201
+ declare -a bdirtoks=( $( readlink -f " ${backupdir} " | sed " s/\// /g" ) )
202
202
if [ ${# bdirtoks[@]} -eq 0 ]; then
203
203
fn_print_fail_nl " Problem assessing backupdir during relative path assessment"
204
204
fn_script_log_fail " Problem assessing backupdir during relative path assessment: ${rootdir} "
You can’t perform that action at this time.
0 commit comments