diff --git a/src/usr/sbin/sbopkg b/src/usr/sbin/sbopkg index 2823667..961de91 100755 --- a/src/usr/sbin/sbopkg +++ b/src/usr/sbin/sbopkg @@ -42,8 +42,7 @@ unset BUILDPKGS INSTALLPKGS BUILDOPTIONS LAST_USER_QUEUE_ON_DISK QUIET SBOPKG_CONF="${SBOPKG_CONF:-/etc/sbopkg/sbopkg.conf}" SBOPKG_RENAMES="${SBOPKG_RENAMES:-/etc/sbopkg/sbopkg-renames}" CWD="$(pwd)" -SBOVER=svn_r$(cat ${0} | grep '$Id: ' | head -1 | \ - sed -e 's/^.*Id: sbopkg \([0-9.]*\) .*$/\1/') +SBOVER=svn_r$(cut -d' ' -f2 <<<"\$Revision$") dialog_refresh_workaround() { # Dialog has refresh problems on some terminals (currently known are