zsh-workers
 help / color / mirror / code / Atom feed
* zrecompile not verbose enough on failure?
@ 2001-10-21 20:42 Adam Spiers
  2001-10-22  1:59 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Spiers @ 2001-10-21 20:42 UTC (permalink / raw)
  To: zsh workers mailing list

Seen in zrecompile:

        if { [[ ! -f $zwc ]] || mv $zwc ${zwc}.old } &&
             zcompile $map $tmp $zwc $files 2> /dev/null; then
          [[ -z $quiet ]] && print succeeded
        else
          [[ -z $quiet ]] && print failed
          ret=1
        fi

Why does zrecompile redirect STDERR to /dev/null when running
zcompile?  It means that if you're doing something like

  zrecompile ... -M -U ~/.zsh/functions.zwc ~/.zsh/functions/*(*)

then if something in ~/.zsh/functions has a syntax error, you just get 

  re-compiling /nfs-home/adams/.zsh/functions.zwc: failed

with no indication of which file was the culprit.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-03-07 11:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-21 20:42 zrecompile not verbose enough on failure? Adam Spiers
2001-10-22  1:59 ` Bart Schaefer
2001-10-22 11:29   ` Sven Wischnowsky
2002-03-06 14:43     ` Adam Spiers
2002-03-07  8:27       ` Sven Wischnowsky
2002-03-07 11:43         ` Adam Spiers

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).