diff options
author | Jonathan Bauer | 2018-02-27 15:01:17 +0100 |
---|---|---|
committer | Jonathan Bauer | 2018-02-27 15:01:17 +0100 |
commit | 0691dac218d6e678f193ea159fd8f3f9d7fd5807 (patch) | |
tree | 6d97040a137559cd6d02350920be038956b61153 /mltk | |
parent | [kernel-vanilla] add libssl-dev (diff) | |
download | mltk-0691dac218d6e678f193ea159fd8f3f9d7fd5807.tar.gz mltk-0691dac218d6e678f193ea159fd8f3f9d7fd5807.tar.xz mltk-0691dac218d6e678f193ea159fd8f3f9d7fd5807.zip |
add '--force-sys-version' option
used to test on new distro versions by overriding lsb_release output
(e.g. test ubuntu 17.10's configs on 18.04)
Diffstat (limited to 'mltk')
-rwxr-xr-x | mltk | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -202,6 +202,15 @@ read_params() { REMOTE_EXPORT="1" continue ;; + --force-sys-version) + if [ -z "$1" ]; then + perror "--force-sys-version requires an argument, e.g. '18.04'." + else + FORCE_SYS_VERSION="$1" + shift + fi + continue + ;; *) pwarning "Unknown flag to target: $PARAM" print_usage |