Changeset - c262cc075ae1
[Not reviewed]
0 1 0
camlafit - 10 years ago 2015-12-15 14:39:54
cam.lafit@azerttyu.net
Check debuild presence

Can't package if missing devscripts deb
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
packaging/debian/build_spectrum2.sh
Show inline comments
 
@@ -2,6 +2,11 @@
 

	
 
set -x
 

	
 
#Check functions required
 
hash debuild 2>/dev/null || ( echo >&2 "apt-get install  devscripts"; exit 1; )
 

	
 

	
 

	
 
vercount=$(git rev-list --all | wc -l)
 
gitrev=$(git rev-parse --short HEAD | sed 's/\(^[0-9\.]*\)-/\1~/')
 
version=$vercount-$gitrev
0 comments (0 inline, 0 general)