Darren Tucker
2002-Mar-07 23:24 UTC
[Bug 140] Solaris 8 cannot create pkg in OpenSSH 3.1p1 (fwd)
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 8This 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.