#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.9 2000/05/15 16:12:39 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.10 2000/05/15 16:16:23 momjian Exp $
#
#-------------------------------------------------------------------------
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