Project

General

Profile

« Previous | Next » 

Revision 8916

bugfix: lib/util.sh: zip/unzip (): use new $stdout2stderr instead of >&2 so that the redirect happens in the right order

View differences:

lib/util.sh
237 237

  
238 238
zip ()
239 239
{
240
	try extern zip "$@" >&2
240
	stdout2stderr=1 try extern zip "$@"
241 241
	ignore 12 # "zip has nothing to do" (`man zip`)
242 242
	end_try
243 243
}
244 244

  
245
unzip () { extern unzip "$@" >&2; }
245
unzip () { stdout2stderr=1 extern unzip "$@"; }
246 246

  
247 247
set_inv force
248 248
alias zip_newer="zip${no_force:+ -u}"

Also available in: Unified diff