From 582f752e6e170c388b334abd0320af5c706ce08f Mon Sep 17 00:00:00 2001 From: "chess.griffin" Date: Mon, 12 Jan 2009 16:01:22 +0000 Subject: [PATCH] merge back in prior svn ID code since the revision expanded as well --- src/usr/bin/sbopkg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/usr/bin/sbopkg b/src/usr/bin/sbopkg index add96d5..5dc2a04 100755 --- a/src/usr/bin/sbopkg +++ b/src/usr/bin/sbopkg @@ -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