[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make 'cd' errors stop a rule?

From: Eric Hanchrow
Subject: Re: How to make 'cd' errors stop a rule?
Date: Sun, 04 Dec 2005 15:33:05 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.51 (gnu/linux)

>>>>> "Dave" == Dave Hylands <address@hidden> writes:

    Dave> You're actually executing two commands.  And make is seeing
    Dave> the return code from the ls -l.

    Dave> So split it into two lines and it should fail if trying to
    Dave> cd into a non-existance directory.

Or just replace the semi-colon with &&.
Hamburgers!  The cornerstone of any nutritious breakfast.
        -- Jules {From "Pulp Fiction"}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]