Commit 68ffdc67 by Chavee Issariyapat

fix bug

parent 4afc509c
......@@ -14,11 +14,11 @@ define MAKEFUNCTIONCODE
# awk -F= '/^RELEASE=/{print $$2}' release.conf
# new use tag from git of the form -> 1.0.1-2-3b10c420
TAGN=$$(git describe | sed -e "s/-g.*//g")
TAGN=$$(git describe | sed -e "s/-g.*//")
T1=$$(echo $$TAGN | sed -e "s/-.*//")
T2=$$(echo $$TAGN | sed -e "s/^[^\-]*//")
if [$$T2 == ""]
if [ $T2 == "" ]
then
T2="-0"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment