summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5f87c8a)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@149
758a04ac-41e6-0310-8a23-
8373a73cc35d
function process_action() {
local file="$1"
local suffix="$2"
function process_action() {
local file="$1"
local suffix="$2"
setfile $file
# skip over this config if "when" option
setfile $file
# skip over this config if "when" option
IFS=$'\t\n'
if [ $ret == 0 ]; then
debug "skipping $file because it is not $w"
IFS=$'\t\n'
if [ $ret == 0 ]; then
debug "skipping $file because it is not $w"
else
info ">>>> starting action $file (because it is $w)"
else
info ">>>> starting action $file (because it is $w)"
+ [ "$run" == "no" ] && return