changeset 19:294b440431fe

scripts/mk-component.sh: no more component flavors
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 22:08:52 +0000
parents f23ae941a18b
children 889745bf8615
files scripts/mk-component.sh
diffstat 1 files changed, 3 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/mk-component.sh	Sun Jul 15 21:49:56 2018 +0000
+++ b/scripts/mk-component.sh	Sun Jul 15 22:08:52 2018 +0000
@@ -1,19 +1,13 @@
 #!/bin/sh
 
-if [ $# -lt 1 -o $# -gt 2 ]
+if [ $# != 1 ]
 then
-	echo "usage: $0 component-lib [flavor]" 1>&2
+	echo "usage: $0 component-lib" 1>&2
 	exit 1
 fi
 
 LIBNAME="$1"
-
-if [ -n "$2" ]
-then
-	recipe_file="components/$1-$2"
-else
-	recipe_file="components/$1"
-fi
+recipe_file="components/$1"
 
 if [ ! -f "$recipe_file" ]
 then