Revert "wiringPi: newVersion: Fix for adding minor-fixed version"
This reverts commit 07cc4620e0.
Change-Id: I9023d16ddfe808fccb74b58981933091e6917c1f
This commit is contained in:
17
newVersion
17
newVersion
@@ -28,7 +28,20 @@ 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.$vMinFix\"" >> version.h
|
||||
echo "#define VERSION_MINOR \"$vMin\"" >> version.h
|
||||
|
||||
rm -f debian-template/wiringPi/DEBIAN/control
|
||||
cat > debian-template/wiringPi/DEBIAN/control <<EOF
|
||||
Package: odroid-wiringpi
|
||||
Version: $(cat VERSION)
|
||||
Section: libraries
|
||||
Priority: optional
|
||||
Architecture: arm64
|
||||
Depends: libc6
|
||||
Maintainer: Joshua Yang <joshua.yang@hardkernel.com>
|
||||
Description: The wiringPi libraries, headers and gpio command
|
||||
Libraries to allow GPIO access on a ODROID from C and C++
|
||||
and BASIC programs as well as from the command-line
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user