Project

General

Profile

« Previous | Next » 

Revision 8902

lib/util.sh: zip/unzip: redirect logging output to stderr

View differences:

lib/util.sh
220 220

  
221 221
zip ()
222 222
{
223
	try env zip "$@"
223
	try env zip "$@" >&2
224 224
	ignore 12 # "zip has nothing to do" (`man zip`)
225 225
	end_try
226 226
}
227 227

  
228
alias unzip="echo_run unzip"
228
unzip () { env unzip "$@" >&2; }
229

  
229 230
set_inv force
230 231
alias zip_newer="zip${no_force:+ -u}"
231 232
alias unzip_newer="unzip${no_force:+ -u} -o"

Also available in: Unified diff