Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6bbdd7a

Browse files
committed
sbasename $0 is now basename "$0"
1 parent f5ab01a commit 6bbdd7a

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

src/bin/scripts/createdb

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
#
1313
#
1414
# IDENTIFICATION
15-
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createdb,v 1.16 2001/09/06 04:57:29 ishii Exp $
15+
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createdb,v 1.17 2001/09/22 04:28:12 momjian Exp $
1616
#
1717
#-------------------------------------------------------------------------
1818

19-
CMDNAME=`basename $0`
19+
CMDNAME=`basename "$0"`
2020
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
2121

2222
MB=

src/bin/scripts/createlang.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
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/createlang.sh,v 1.29 2001/08/13 21:34:54 petere Exp $
10+
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.30 2001/09/22 04:28:12 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

14-
CMDNAME=`basename $0`
14+
CMDNAME=`basename "$0"`
1515
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
1616

1717
PSQLOPT=

src/bin/scripts/createuser

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
#
1010
#
1111
# IDENTIFICATION
12-
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.20 2001/08/26 04:19:46 momjian Exp $
12+
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.21 2001/09/22 04:28:12 momjian Exp $
1313
#
1414
# Note - this should NOT be setuid.
1515
#
1616
#-------------------------------------------------------------------------
1717

18-
CMDNAME=`basename $0`
18+
CMDNAME=`basename "$0"`
1919
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
2020

2121
NewUser=

src/bin/scripts/dropdb

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
#
1212
#
1313
# IDENTIFICATION
14-
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropdb,v 1.11 2001/02/18 18:34:01 momjian Exp $
14+
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropdb,v 1.12 2001/09/22 04:28:12 momjian Exp $
1515
#
1616
#-------------------------------------------------------------------------
1717

18-
CMDNAME=`basename $0`
18+
CMDNAME=`basename "$0"`
1919
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
2020

2121
PSQLOPT=

src/bin/scripts/droplang

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
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.16 2001/08/13 21:34:54 petere Exp $
10+
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/droplang,v 1.17 2001/09/22 04:28:12 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

14-
CMDNAME=`basename $0`
14+
CMDNAME=`basename "$0"`
1515
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
1616

1717
PSQLOPT=

src/bin/scripts/dropuser

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
#
1010
#
1111
# IDENTIFICATION
12-
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropuser,v 1.12 2001/02/18 18:34:02 momjian Exp $
12+
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropuser,v 1.13 2001/09/22 04:28:12 momjian Exp $
1313
#
1414
# Note - this should NOT be setuid.
1515
#
1616
#-------------------------------------------------------------------------
1717

18-
CMDNAME=`basename $0`
18+
CMDNAME=`basename "$0"`
1919
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
2020

2121
PSQLOPT=

src/bin/scripts/vacuumdb

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
#
1313
#
1414
# IDENTIFICATION
15-
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.17 2001/07/10 22:09:29 tgl Exp $
15+
# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.18 2001/09/22 04:28:12 momjian Exp $
1616
#
1717
#-------------------------------------------------------------------------
1818

19-
CMDNAME=`basename $0`
19+
CMDNAME=`basename "$0"`
2020
PATHNAME=`echo $0 | sed "s,$CMDNAME\$,,"`
2121

2222
PSQLOPT=

0 commit comments

Comments
 (0)