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 -- Oliver F?nger - Phone +49 201 8501 319 Cityweb Network GmbH & Co. KG Friedrichstr. 12 - Fax +49 201 8501 104 45128 Essen - email oliver.faenger at cityweb.de
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 > > Oliverbuildpkg.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
Possibly Parallel Threads
- [Bug 176] New: OpenSSH_3.1p1 gives X_ShmAttach error on forwarded X11 channel
- contrib/solaris/buildpkg.sh buglet
- [Bug 176] OpenSSH_3.1p1 gives X_ShmAttach error on forwarded X11 channel
- [Bug 248] New: scp doesn't support ssh2 protocol
- [Bug 3608] New: ssh version is different with sshd version