merge back in prior svn ID code since the revision expanded as well

This commit is contained in:
chess.griffin 2009-01-12 16:01:22 +00:00
parent 809e15bf02
commit 582f752e6e

View File

@ -46,7 +46,8 @@ INSTALLPKGS=""
BUILDOPTIONS=""
SBOPKG_CONF="${SBOPKG_CONF:-/etc/sbopkg/sbopkg.conf}"
CWD="$(pwd)"
SBOVER=svn_r$(grep -m1 '$Id$0 | cut -d " " -f4)
SBOVER=svn_r$(cat ${0} | grep '$Id: ' | head -1 | \
sed -e 's/^.*Id: sbopkg \([0-9.]*\) .*$/\1/')
config_check () {
# Check if config file is there and if so check that it has all