summaryrefslogtreecommitdiffstats
path: root/mltk
diff options
context:
space:
mode:
authorJonathan Bauer2013-10-09 14:30:20 +0200
committerJonathan Bauer2013-10-09 14:30:20 +0200
commit0cc797899a524716bef63eaa7f2f511bdf2953d6 (patch)
treefcb4c22c61c1e1a7e28c7d3641f8c535f43e3cc1 /mltk
parent[mltk] minor (diff)
downloadtm-scripts-0cc797899a524716bef63eaa7f2f511bdf2953d6.tar.gz
tm-scripts-0cc797899a524716bef63eaa7f2f511bdf2953d6.tar.xz
tm-scripts-0cc797899a524716bef63eaa7f2f511bdf2953d6.zip
[mltk] TODO: rework server export parameters since 'stage32' and 'addons' now do the same
Diffstat (limited to 'mltk')
-rwxr-xr-xmltk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mltk b/mltk
index dc448b90..31f24c89 100755
--- a/mltk
+++ b/mltk
@@ -227,6 +227,8 @@ read_params() {
;;
-e)
[ "$#" -lt "1" ] && perror "Missing argument to -e"
+ #TODO: rework these types, since now we only have initramfs or squashfs. This makes a distinction between
+ # stage32 and addons obsolete.
[[ "stage31|stage32|addons" != *"$1"* ]] && perror "Wrong type specified. Muste be either 'stage31', 'stage32' or 'addons'"
SERVER_EXPORT="1"
SERVER_EXPORT_TYPE="$1"