Skip to content

Commit

Permalink
wiringPi: newVersion: Fix for adding minor-fixed version
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Yang <[email protected]>
  • Loading branch information
joshua-yang committed Jul 17, 2019
1 parent d0b2584 commit 73e10fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion newVersion
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF
Expand Down

0 comments on commit 73e10fc

Please sign in to comment.