[jamming] testing for existence of a file...

Anuj Goyal anuj.goyal at gmail.com
Wed Nov 17 18:47:55 PST 2004


I want to test for existence of a file before I "run" an action...

something like this.... but I don't think my syntax is correct....
because it ALWAYS runs the command, even if it exists...


  if ! $(NQERROUT_H) {
  actions RunErrorMsgCompiler {
LD_LIBRARY_PATH=$(NQ_LIBDIR):$(ALL_LOCATE_TARGET) $(>[1]) $(>[2-])
$(<) }
  }



More information about the jamming mailing list