On 2017/12/22 22:12, Anton Lindqvist wrote:
> Hi,
> Since export accepts several variables, put them on a single line.
> 
> Comments? OK?
> 
> Index: release.8
> ===================================================================
> RCS file: /cvs/src/share/man/man8/release.8,v
> retrieving revision 1.89
> diff -u -p -r1.89 release.8
> --- release.8 5 Jun 2017 22:27:58 -0000       1.89
> +++ release.8 22 Dec 2017 21:07:34 -0000
> @@ -202,7 +202,7 @@ is also used and must not be configured.
>  .Pp
>  Make the release and check the contents of the release tarballs:
>  .Bd -literal -offset indent
> -# export DESTDIR=your-destdir; export RELEASEDIR=your-releasedir
> +# export DESTDIR=your-destdir RELEASEDIR=your-releasedir
>  # cd /usr/src/etc && make release
>  # cd /usr/src/distrib/sets && sh checkflist
>  # unset RELEASEDIR DESTDIR
> @@ -240,7 +240,7 @@ will be removed.
>  .Pp
>  The steps to build and validate the Xenocara release are:
>  .Bd -literal -offset indent
> -# export DESTDIR=your-destdir; export RELEASEDIR=your-releasedir
> +# export DESTDIR=your-destdir RELEASEDIR=your-releasedir
>  # make release
>  # make checkdist
>  # unset RELEASEDIR DESTDIR
> @@ -263,8 +263,7 @@ and
>  are suitable for installs without network connectivity.
>  They contain the tarballs and ports built in the previous steps.
>  .Bd -literal -offset indent
> -# export RELDIR=your-releasedir
> -# export RELXDIR=your-xenocara-releasedir
> +# export RELDIR=your-releasedir RELXDIR=your-xenocara-releasedir
>  # cd /usr/src/distrib/$(machine)/iso && make
>  # make install
>  .Ed
> 

If anything I'd go in the opposite direction and split the first two
onto separate lines, they need editing to use the actual directory 
names anyway and it's easier to remove characters from the end of
the line than make changes in the middle..

Not that it matters much, most people who do this regularly just
script it afaik.

Reply via email to