aboutsummaryrefslogtreecommitdiff
path: root/restore.in
diff options
context:
space:
mode:
Diffstat (limited to 'restore.in')
-rw-r--r--restore.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/restore.in b/restore.in
index 16a5430..c1dc0c6 100644
--- a/restore.in
+++ b/restore.in
@@ -1,6 +1,6 @@
#! /bin/sh
# This file is part of BEAM
-# Copyright (C) 2012 Sergey Poznyakoff
+# Copyright (C) 2012-2014 Sergey Poznyakoff
#
# BEAM is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -121,9 +121,9 @@ if [ -z "$week" ]; then
fi
if [ -z "$round" ]; then
- round=$(find $backup_archive_dir \
+ round=$(beam_exec find $backup_local_archive_dir \
-regex '.*-'$week'-[0-9][0-9]*-[0-9][0-9]*\..*' \
- -printf '%f\n' |
+ -printf '%f\\n' |
sed 's/.*-'$week'-\([0-9][0-9]*\)-[0-9][0-9]*\..*/\1/' |
sort +0 -1 |
tail -1)
@@ -131,9 +131,9 @@ if [ -z "$round" ]; then
fi
if [ -z "$level" ]; then
- level=$(find $backup_archive_dir \
+ level=$(beam_exec find $backup_local_archive_dir \
-regex '.*-'$week-$round'-[0-9][0-9]*\..*' \
- -printf '%f\n' |
+ -printf '%f\\n' |
sed 's/.*-'$week-$round'-\([0-9][0-9]*\)\..*/\1/' |
sort +0 -1 |
tail -1)

Return to:

Send suggestions and report system problems to the System administrator.