in reply to Re: checking syntax on multiple files
in thread checking syntax on multiple files
Thanks, but it isn't quite right.
if doit.pl has a problem but doit2.pl is ok, it doesn't stop the install
Using the filenames from my question. Foo has a syntax error while bar is a ok. This proceeds to install the files when I want to prevent that:
Any other suggestions? Thanks in advance.install: foo bar for pl in $^; do perl -c -Mstrict $$pl; done $(INSTALL) $^ /home/ltharris/tests/makestuf /installdir
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: checking syntax on multiple files
by Anonymous Monk on Jan 09, 2013 at 21:41 UTC |