From 0678930b201f0d39c47e119c80392cac865798c8 Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Sat, 9 Dec 2006 16:32:22 +0000 Subject: [PATCH] Swap type/lang in creation script --- scripts/module-create.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/module-create.sh b/scripts/module-create.sh index bcad7ec..61519db 100755 --- a/scripts/module-create.sh +++ b/scripts/module-create.sh @@ -26,7 +26,7 @@ source scripts/functions.sh || exit 1 # Get arguments. if [ $# -lt 3 ] then - echo "Usage: scripts/module-create.sh [args]" + echo "Usage: scripts/module-create.sh [args]" echo " available modules:" for i in scripts/build.* do @@ -34,13 +34,13 @@ then done exit 1 fi -LANG=$1 -shift TYPE=$1 shift +LANG=$1 +shift NAME=$1 shift -TEMPLATE=scripts/build.${LANG}.${TYPE} +TEMPLATE=scripts/build.${TYPE}.${LANG} if [ ! -e ${TEMPLATE}/instantiate ] then