Re: Smoke 1.05

[email protected] (Will Coleda)
Newsgroups perl.daily-build
Message-ID <[email protected]>
Bah.

What I -meant- to type, was:

-cd $PC
+cd $PC || exit 1

(the parens below appear to cause the exit to just stop in the generated
subshell)
my sh warns on the failed cd anyway, so the above is better.

I am now going to get some #$@ coffee. =-)

Will Coleda wrote:
> 
> "H.Merijn Brand" wrote:
> >
> > On Thu 30 Aug 2001 15:54, "Will Coleda" <[email protected]> wrote:
> > > I have re-stumbled over the fact that I don't have mailx on my linux
> > > system, but my copy of mail does support -s.
> > >
> > > my $^O just reports "linux".
> > >
> > > Should we, perhaps, just use sendmail? (it's about as portable as mail
> > > and mailx, neh?)
> >
> > http://home.hccnet.nl/h.m.brand/Test-Smoke-1.06.tgz
> 
> For the next release, in smoke.sh, suggested change:
> 
> -cd $PC
> +cd $PC || (echo "cd $PC failed"; exit 1)
> 
> ... That should -help- avoid the problem of the poor person who
> --delete'd his homedir.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.