1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Fix version

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-11-03 14:54:39 +01:00
parent c09ea7be12
commit 5d0b94c134

View file

@ -172,7 +172,7 @@ if [ -f "$OMR_TARGET_CONFIG" ]; then
CONFIG_VERSIONOPT=y
CONFIG_VERSION_DIST="$OMR_DIST"
CONFIG_VERSION_REPO="$OMR_REPO"
CONFIG_VERSION_NUMBER="$(git -C "$OMR_FEED" tag --sort=committerdate | tail -1)-$(git -C "$OMR_FEED" rev-parse --short HEAD)"
CONFIG_VERSION_NUMBER="$(git -C "$OMR_FEED" tag --sort=committerdate | tail -1)"
EOF
else
cat config -> "$OMR_TARGET/source/.config" <<-EOF