Re: [CFT] [sys/conf/newvers.sh] Cleanup and additions.

From: Anonymous <swell.k_at_gmail.com>
Date: Wed, 11 Aug 2010 05:10:56 +0400
(a copy for current_at_)

jhell <jhell_at_dataix.net> writes:

>  * Adjust the paths that are checked for binaries to be of only
> /usr/local/bin and /usr/bin. "/bin" is highly unlikely to hold svn(1),
> git(1) or hg(1).

Please, look at conf/146828. That script shouldn't blindly assume where
user installs his packages[1].

[1] using non-default LOCALBASE is a convenient way to identify
    non-conforming ports

> +                                gitsvnid="`$git log |fgrep 'git-svn-id:' |head -1 |\
> +                                sed -n 's/^.*_at_\([0-9][0-9]*\).*$/\1/p'`"

The above line can be sed-only. A few parts can be simplified, too.


Received on Tue Aug 10 2010 - 23:11:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC