mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-21 03:13:05 +08:00
sbasename $0 is now basename "$0"
This commit is contained in:
parent
f5ab01ada7
commit
6bbdd7a9e2
@ -12,11 +12,11 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createdb,v 1.16 2001/09/06 04:57:29 ishii Exp $
|
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createdb,v 1.17 2001/09/22 04:28:12 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
CMDNAME=`basename $0`
|
CMDNAME=`basename "$0"`
|
||||||
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
||||||
|
|
||||||
MB=
|
MB=
|
||||||
|
@ -7,11 +7,11 @@
|
|||||||
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||||
# Portions Copyright (c) 1994, Regents of the University of California
|
# Portions Copyright (c) 1994, Regents of the University of California
|
||||||
#
|
#
|
||||||
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.29 2001/08/13 21:34:54 petere Exp $
|
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.30 2001/09/22 04:28:12 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
CMDNAME=`basename $0`
|
CMDNAME=`basename "$0"`
|
||||||
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
||||||
|
|
||||||
PSQLOPT=
|
PSQLOPT=
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.20 2001/08/26 04:19:46 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.21 2001/09/22 04:28:12 momjian Exp $
|
||||||
#
|
#
|
||||||
# Note - this should NOT be setuid.
|
# Note - this should NOT be setuid.
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
CMDNAME=`basename $0`
|
CMDNAME=`basename "$0"`
|
||||||
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
||||||
|
|
||||||
NewUser=
|
NewUser=
|
||||||
|
@ -11,11 +11,11 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropdb,v 1.11 2001/02/18 18:34:01 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropdb,v 1.12 2001/09/22 04:28:12 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
CMDNAME=`basename $0`
|
CMDNAME=`basename "$0"`
|
||||||
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
||||||
|
|
||||||
PSQLOPT=
|
PSQLOPT=
|
||||||
|
@ -7,11 +7,11 @@
|
|||||||
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||||
# Portions Copyright (c) 1994, Regents of the University of California
|
# Portions Copyright (c) 1994, Regents of the University of California
|
||||||
#
|
#
|
||||||
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/droplang,v 1.16 2001/08/13 21:34:54 petere Exp $
|
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/droplang,v 1.17 2001/09/22 04:28:12 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
CMDNAME=`basename $0`
|
CMDNAME=`basename "$0"`
|
||||||
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
||||||
|
|
||||||
PSQLOPT=
|
PSQLOPT=
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropuser,v 1.12 2001/02/18 18:34:02 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropuser,v 1.13 2001/09/22 04:28:12 momjian Exp $
|
||||||
#
|
#
|
||||||
# Note - this should NOT be setuid.
|
# Note - this should NOT be setuid.
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
CMDNAME=`basename $0`
|
CMDNAME=`basename "$0"`
|
||||||
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
||||||
|
|
||||||
PSQLOPT=
|
PSQLOPT=
|
||||||
|
@ -12,11 +12,11 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.17 2001/07/10 22:09:29 tgl Exp $
|
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.18 2001/09/22 04:28:12 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
CMDNAME=`basename $0`
|
CMDNAME=`basename "$0"`
|
||||||
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
|
||||||
|
|
||||||
PSQLOPT=
|
PSQLOPT=
|
||||||
|
Loading…
Reference in New Issue
Block a user