Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb9da4b7

Browse files
committed
Droplang didn't have test for -l, list. This was really broken too.
Took test from createlang.
1 parent4ecd278 commitb9da4b7

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

‎src/bin/scripts/droplang

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
88
# Portions Copyright (c) 1994, Regents of the University of California
99
#
10-
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/droplang,v 1.19 2002/01/0306:09:02 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/droplang,v 1.20 2002/01/0308:53:00 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -96,10 +96,14 @@ do
9696
exit 1
9797
;;
9898
*)
99-
langname="$1"
100-
if ["$2" ];then
101-
shift
102-
dbname="$1"
99+
if ["$list"!="t" ]
100+
thenlangname="$1"
101+
if ["$2" ]
102+
then
103+
shift
104+
dbname="$1"
105+
fi
106+
elsedbname="$1"
103107
fi
104108
;;
105109
esac

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp