mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-22 10:42:30 +01:00
borg: use autotools abstraction for sed path
This commit is contained in:
parent
c18404eb3a
commit
21f75544e8
@ -186,7 +186,7 @@ if [ $test = 0 ]; then
|
||||
debug $output
|
||||
info "Successfully finished backing up source."
|
||||
elif [ $ret = 1 ]; then
|
||||
warnmsg=$(echo "$output" | sed -n '1,/^-\+$/{x;p;d;}; x' | sed '/^$/d')
|
||||
warnmsg=$(echo "$output" | @SED@ -n '1,/^-\+$/{x;p;d;}; x' | @SED@ '/^$/d')
|
||||
if [ "$ignore_missing" = "yes" ] && ! echo "$warnmsg" | grep -qv '\[Errno 2\] No such file or directory:'; then
|
||||
debug $output
|
||||
info "Backing up source finished with missing file warnings."
|
||||
|
Loading…
Reference in New Issue
Block a user