]> granicus.if.org Git - postgresql/commitdiff
Fix up examples of sh/ksh PATH environment variable definition.
authorThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 4 May 1999 02:57:13 +0000 (02:57 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 4 May 1999 02:57:13 +0000 (02:57 +0000)
doc/src/sgml/environ.sgml
doc/src/sgml/runtime.sgml
doc/src/sgml/start.sgml

index 862ccbdbdaa559de1ab7281fa415100e8f41210f..13bdd3f8181b85fca9da93e02753b0bd16115189 100644 (file)
@@ -32,8 +32,8 @@ set path = ( /usr/local/pgsql/bin path )
      a  variant  of  the  Bourne  shell, such as <Application>sh</Application>, <Application>ksh</Application>, or
      <Application>bash</Application>, then you would add
 <ProgramListing>
-PATH=/usr/local/pgsql/bin PATH
-export PATH
+$ PATH=/usr/local/pgsql/bin:$PATH
+export PATH
 </ProgramListing>
      to the <FileName>.profile</FileName> file in your home directory.
      From now on, we will assume that  you  have  added  the
index 774c19cae75a09d1ab51526e302b987e606eda8c..af6b300455e3b10f16acc242aa1783485e484e66 100644 (file)
@@ -62,7 +62,7 @@ set path = ( /usr/local/pgsql/bin path )
      a  variant  of  the  Bourne  shell, such as sh, ksh, or
      bash, then you would add
 <ProgramListing>
-PATH=/usr/local/pgsql/bin PATH
+PATH=/usr/local/pgsql/bin:$PATH
 export PATH
 </ProgramListing>
      to the .profile file in your home directory.
index 12390f04dbbcf1dc779c5ae497e0c7e265d107f2..592b35f89fc9cb12de0c45e30f63eca443fa713c 100644 (file)
@@ -67,7 +67,7 @@ of a client application is the interactive monitor <Application>psql</Applicatio
      a  variant  of  the  Bourne  shell, such as sh, ksh, or
      bash, then you would add
 <ProgramListing>
-% PATH=/usr/local/pgsql/bin PATH
+% PATH=/usr/local/pgsql/bin:$PATH
 % export PATH
 </ProgramListing>
      to the .profile file in your home directory.