diff options
author | Mihai Moldovan <ionic@ionic.de> | 2016-07-04 22:50:46 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2016-07-04 22:50:46 +0200 |
commit | 9b98ace894ac4641e789dd04637aa52b58d3c177 (patch) | |
tree | 10d02fbc37e883880b2471eb25658fe6cf315b22 /bin/debian-codename-to-version.sh | |
parent | e00a37895b6b56f28d9b0d3d360af500397dd39e (diff) | |
download | buildscripts-9b98ace894ac4641e789dd04637aa52b58d3c177.tar.gz buildscripts-9b98ace894ac4641e789dd04637aa52b58d3c177.tar.bz2 buildscripts-9b98ace894ac4641e789dd04637aa52b58d3c177.zip |
bin/build-deb-package: fix various issues:
- typeset -l makes the content lowercase, not the variable "local"
(that's implied by using typeset.) Hence, drop it where
inappropriate.
- typeset -l is only available in BASH 4 and higher. Use it
conditionally only.
- Use tr to convert strings to lowercase when using a BASH version
lower than 4.
- Don't accept empty numerical version values.
Diffstat (limited to 'bin/debian-codename-to-version.sh')
0 files changed, 0 insertions, 0 deletions