diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2019-01-16 13:50:38 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2019-01-16 13:50:38 +0100 |
commit | d83d715e363f72779adaa3a3829548bb954243ce (patch) | |
tree | 5965ad550a78fe9bf05356df88232a8864b34b58 /client | |
parent | 23b34416176c840feef01df3755429add4d92e93 (diff) |
#872: Adapting commits 01f4ee0, b411a0f, 2dd6a85, c616aa6 from devel branch.
Diffstat (limited to 'client')
-rwxr-xr-x | client/boot-tools/boottoolsfunctions.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/boot-tools/boottoolsfunctions.lib b/client/boot-tools/boottoolsfunctions.lib index 5d22e11f..83dbcf5d 100755 --- a/client/boot-tools/boottoolsfunctions.lib +++ b/client/boot-tools/boottoolsfunctions.lib @@ -124,7 +124,7 @@ case "${1,,}" in esac BRANCH="master" GITURL="https://api.github.com/repos/opengnsys/OpenGnsys/commits?sha=$BRANCH&path=/client" -GITRELEASE=$(curl -s "$GITURL" | jq -r '"r" + (.[0].commit.committer.date | gsub("-"; "")[:8]) + "." + (.[0].sha[:7])') +GITRELEASE=$(curl -s "$GITURL" | jq -r '"r" + (.[0].commit.committer.date | split("-") | join("")[:8]) + "." + (.[0].sha[:7])') NAMEISOCLIENT="$VERSIONBOOTTOOLS-$OSCODENAME-$OSRELEASE-$OSARCH-$GITRELEASE" NAMEHOSTCLIENT="$VERSIONBOOTTOOLS-$OSCODENAME-$GITRELEASE" export OSDISTRIB OSCODENAME OSRELEASE OSARCH OSHTTP |