|
From: | Matt England |
Subject: | How to make 'cd' errors stop a rule? |
Date: | Sun, 04 Dec 2005 16:24:20 -0600 |
I find that the 'cd' command in this rule does not stop this make script: all: cd bogus-this-is-not-a-real-directory; ls -l @echo This is the 2nd cmd in the ruleHow can I get make to error, and stop on this error, when trying to 'cd' to an invalid directory?
-Matt
[Prev in Thread] | Current Thread | [Next in Thread] |