buildpkg.sh in OpenSSH_3.1p1
Tim Rice
tim at multitalents.net
Sat Mar 9 03:30:47 EST 2002
On Fri, 8 Mar 2002, Oliver [iso-8859-15] Fänger wrote:
> Hi,
>
> version.h in OpenSSH_3.1p1 has an Newline after
>
> #define SSH_VERSION "OpenSSH_3.1p1"
>
> so
> tail -1 ../../version.h | sed -e 's/.*_\([0-9]\)/\1/g' | sed 's/\"$//'
>
> does give back a version number
>
> regards
>
> Oliver
buildpkg.sh is currently being updated. The new version will use
VERSION=`./ssh -V 2>&1 | sed -e 's/,.*//'`
You will have to modify the path to use this in the old version as
the new one will be run from your build directory.
--
Tim Rice Multitalents (707) 887-1469
tim at multitalents.net
More information about the openssh-unix-dev
mailing list