cleanup
authorBruce Momjian <[email protected]>
Mon, 15 May 2000 16:16:23 +0000 (16:16 +0000)
committerBruce Momjian <[email protected]>
Mon, 15 May 2000 16:16:23 +0000 (16:16 +0000)
src/bin/scripts/createlang.sh

index 622c0ca1ba0f0041416f3c5dd7af5fc3d4614a71..26533956aefaf1e6e43c4cf18f8a36e8966ce767 100644 (file)
@@ -103,14 +103,14 @@ do
                exit 1
                ;;
         *)
-               if [ "$list" = 't' ]
-               then    dbname="$1"
-               else    langname="$1"
+               if [ "$list" != "t" ]
+               then    langname="$1"
                        if [ "$2" ]
                        then
                                shift
                                dbname="$1"
                        fi
+               else    dbname="$1"
                fi
                 ;;
     esac