Minor improvement to readability so the script path stands out as being configuragble versus being grouped with the default Bash settings.
17 lines
314 B
Bash
Executable File
17 lines
314 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
# Performs restoration of backup data.
|
|
|
|
set -o nounset
|
|
set -o errexit
|
|
set -o pipefail
|
|
IFS=$'\n\t'
|
|
|
|
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/restore_backup"
|
|
|
|
if [[ -x "$SCRIPT_PATH" ]]; then
|
|
"$SCRIPT_PATH"
|
|
else
|
|
printf "WARNING: Restore backup script does not exist or is not executable.\n"
|
|
fi
|