mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 12:00:33 +03:00
Simplified the way SBOVER is assigned to, adding Revision to the list of the
script's svn:keywords and handing subversion's expansion of that to cut
This commit is contained in:
parent
64fd6c526a
commit
fc4d0f87d5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user