svn commit: r331685 - head/textproc/asciidoc

Alexey Dokuchaev danfe at FreeBSD.org
Mon Oct 28 09:57:48 UTC 2013


On Sat, Oct 26, 2013 at 01:27:07PM +0000, Sunpoet Po-Chuan Hsieh wrote:
> New Revision: 331685
> URL: http://svnweb.freebsd.org/changeset/ports/331685
> 
>  post-patch:
>  .for conf_file in ${CONF_FILES}
> -	@cd ${WRKSRC} && ${MV} ${conf_file} ${conf_file}.sample
> +	@cd ${WRKSRC}/ && ${MV} ${conf_file} ${conf_file}.sample

I could never understand why people add trailing slashes everywhere: it
is useless [1], it looks ugly, it makes lines longer, it adds noise to
the logs, etc., etc.,

Why, really, do you need a slash after directory you're cd'ing into?

./danfe

[1] when people add slashes after destination paths for install(8), I also
think it's silly, but at least there is a benefit of early warning (vs.
silently installing as a regular file if directory is missins).  Do I miss
some magic about cd that warrants a trailing slash?


More information about the svn-ports-head mailing list