diff options
author | camlafit <cam.lafit@azerttyu.net> | 2015-12-15 16:39:54 +0300 |
---|---|---|
committer | camlafit <cam.lafit@azerttyu.net> | 2015-12-15 16:39:54 +0300 |
commit | c262cc075ae15f869434abfd4fe1550ac4ad5a73 (patch) | |
tree | 24478dea893764d5492a8e6afcc4cb4ec5a2f4f5 /packaging | |
parent | a72b2a6c6410e4a7395299eaf73a28592a46229d (diff) |
Check debuild presence
Can't package if missing devscripts deb
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/debian/build_spectrum2.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/debian/build_spectrum2.sh b/packaging/debian/build_spectrum2.sh index d0ce4a80..b90c31d4 100755 --- a/packaging/debian/build_spectrum2.sh +++ b/packaging/debian/build_spectrum2.sh @@ -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 |