mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 12:00:33 +03:00
rework the dynamic SBOVER because the prior code was getting expanded and breaking.
This commit is contained in:
parent
dc4a0f05b9
commit
1367d419e7
@ -46,7 +46,8 @@ INSTALLPKGS=""
|
|||||||
BUILDOPTIONS=""
|
BUILDOPTIONS=""
|
||||||
SBOPKG_CONF="${SBOPKG_CONF:-/etc/sbopkg/sbopkg.conf}"
|
SBOPKG_CONF="${SBOPKG_CONF:-/etc/sbopkg/sbopkg.conf}"
|
||||||
CWD="$(pwd)"
|
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 () {
|
config_check () {
|
||||||
# Check if config file is there and if so check that it has all
|
# Check if config file is there and if so check that it has all
|
||||||
|
Loading…
Reference in New Issue
Block a user