Lines 124-131
restore_config() {
Link Here
|
124 |
|
124 |
|
125 |
if [[ -f ${found} ]]; then |
125 |
if [[ -f ${found} ]]; then |
126 |
elog "Building using saved configfile \"${found}\"" |
126 |
elog "Building using saved configfile \"${found}\"" |
127 |
if [ $# -gt 0 ]; then |
127 |
if [[ $# -gt 0 ]]; then |
128 |
cp -pPR "${found}" "$1" || die "Failed to restore ${found} to $1" |
128 |
cp -p "${found}" "$1" || die "Failed to restore ${found} to $1" |
129 |
else |
129 |
else |
130 |
die "need to know the restoration filename" |
130 |
die "need to know the restoration filename" |
131 |
fi |
131 |
fi |
132 |
- |
|
|