Project

General

Profile

« Previous | Next » 

Revision 8887

lib/util.sh: zip: ignore "zip has nothing to do" exit status as this is not an error

View differences:

util.sh
198 198

  
199 199
### zip
200 200

  
201
alias zip="echo_run zip"
201
zip ()
202
{
203
	try env zip "$@"
204
	ignore 12 # "zip has nothing to do" (`man zip`)
205
	end_try
206
}
207

  
202 208
alias unzip="echo_run unzip"
203 209
set_inv force
204 210
alias zip_newer="zip${no_force:+ -u}"

Also available in: Unified diff