summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"