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

Commitc446802

Browse files
committed
Fix syntax error reported by old shells ("if ! command..." is a
neologism, apparently).
1 parent1aecb8d commitc446802

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/bin/initdb/initdb.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#
2727
#
2828
# IDENTIFICATION
29-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.87 2000/03/2514:32:50 momjian Exp $
29+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.88 2000/03/2518:46:17 tgl Exp $
3030
#
3131
#-------------------------------------------------------------------------
3232

@@ -282,7 +282,8 @@ fi
282282
# The data path must be absolute, because the backend doesn't like
283283
# '.' and '..' stuff. (Should perhaps be fixed there.)
284284

285-
if!echo"$PGDATA"| grep'^/'> /dev/null2>&1
285+
echo"$PGDATA"| grep'^/'> /dev/null2>&1
286+
if ["$?"-ne 0 ]
286287
then
287288
echo"$CMDNAME: data path must be specified as an absolute path"
288289
exit 1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp