Project

General

Profile

« Previous | Next » 

Revision 9537

*{.sh,run}: use new `|| ignore` instead of ignore_e/end_try

View differences:

lib/sh/archives.sh
8 8
zip()
9 9
{
10 10
	echo_func
11
	cmd_log_fd=1 try self "$@"
12
	ignore_e 12 # "zip has nothing to do" (`man zip`)
13
	end_try
11
	cmd_log_fd=1 try self "$@" || ignore 12 #"zip has nothing to do" (`man zip`)
14 12
}
15 13

  
16 14
unzip() { echo_func; cmd_log_fd=1 self "$@"; }

Also available in: Unified diff