diff options
author | Mihai Moldovan <ionic@ionic.de> | 2016-07-04 21:42:28 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2016-07-04 22:45:48 +0200 |
commit | e00a37895b6b56f28d9b0d3d360af500397dd39e (patch) | |
tree | 25285023c661113cc119a62f263d7b161282324f /bin/sbuild-deb-package | |
parent | b9992a54faffe763946fc1ca9276ee65149c5b46 (diff) | |
download | buildscripts-e00a37895b6b56f28d9b0d3d360af500397dd39e.tar.gz buildscripts-e00a37895b6b56f28d9b0d3d360af500397dd39e.tar.bz2 buildscripts-e00a37895b6b56f28d9b0d3d360af500397dd39e.zip |
bin/{debian,ubuntu}-codename-to-version.sh: fix various shortcomings:
- return can only be used in functions. Switch to "exit" instead.
- 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.
Diffstat (limited to 'bin/sbuild-deb-package')
0 files changed, 0 insertions, 0 deletions