[Bug 140] Solaris 8 cannot create pkg in OpenSSH 3.1p1 (fwd)

Darren Tucker dtucker at zip.com.au
Fri Mar 8 10:24:57 EST 2002


Forwarded message:
> In $openSSH/contrib/solaris/buildpkg.sh
> line 13:
> VERSION=`tail -1 ../../version.h | sed -e 's/.*_\([0-9]\)/\1/g' | sed 's/\"$//'`
> needs to change to
> line 13:
> VERSION=`tail -2 ../../version.h | sed -e 's/.*_\([0-9]\)/\1/g' | sed 's/\"$//'`
> 
> This fixes the pkgcreation problem on Solaris 8

This affected the AIX package build too (sigh) but I think we'd be better off
with:

VERSION=`grep SSH_VERSION ../../version.h | sed -e 's/.*_\([0-9]\)/\1/g' | sed 's/\"$//'`

So next time someone adds an emply line somewhere it won't break again.

		-Daz.




More information about the openssh-unix-dev mailing list