mirror of
https://github.com/sbopkg/sbopkg
synced 2025-01-29 20:34:34 +01:00
rework the dynamic SBOVER because the prior code was getting expanded and breaking.
This commit is contained in:
parent
dc4a0f05b9
commit
1367d419e7
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue