On 27 April 2013 09:11, Carmel <[email protected]> wrote: > @unexec if %%PORTDOCS%%%%DOCSDIR%%/Release.html; then rm -f > %%PORTDOCS%%%%DOCSDIR%%/Release.html; fi > > However, while "portlint -A" has no problem with it, I receive: > > share/doc/scamp/Release.html: not found
To explain this error: note that if refers to a command, not to file's existence. You were missing [ -e $file ]. As others of had said, this is uneeded though. -- Eitan Adler _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
