From 07cc4620e0ccc1cce8732f7a418be73445784624 Mon Sep 17 00:00:00 2001 From: Joshua Yang Date: Wed, 17 Jul 2019 12:27:29 +0900 Subject: [PATCH] wiringPi: newVersion: Fix for adding minor-fixed version Signed-off-by: Joshua Yang --- newVersion | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/newVersion b/newVersion index 638406c..efe3281 100755 --- a/newVersion +++ b/newVersion @@ -28,9 +28,10 @@ echo Updating to version: `cat VERSION` rm -f version.h vMaj=`cut -d. -f1 VERSION` vMin=`cut -d. -f2 VERSION` +vMinFix=$(cut -d. -f3 VERSION) echo "#define VERSION \"`cat VERSION`\"" > version.h echo "#define VERSION_MAJOR $vMaj" >> version.h -echo "#define VERSION_MINOR \"$vMin\"" >> version.h +echo "#define VERSION_MINOR \"$vMin.$vMinFix\"" >> version.h rm -f debian-template/wiringPi/DEBIAN/control cat > debian-template/wiringPi/DEBIAN/control <