mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Fix handling of pre-existing LD_LIBRARY_PATH, from Keith Parks
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.22 2000/07/09 13:14:19 petere Exp $
 | 
					# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.23 2000/07/09 13:19:24 petere Exp $
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ----------
 | 
					# ----------
 | 
				
			||||||
# Check call syntax
 | 
					# Check call syntax
 | 
				
			||||||
@@ -43,7 +43,7 @@ export PGPORT
 | 
				
			|||||||
# otherwise feel free to cover your platform here as well.
 | 
					# otherwise feel free to cover your platform here as well.
 | 
				
			||||||
if [ "$LD_LIBRARY_PATH" ]; then
 | 
					if [ "$LD_LIBRARY_PATH" ]; then
 | 
				
			||||||
	old_LD_LIBRARY_PATH="$LD_LIBRARY_PATH"
 | 
						old_LD_LIBRARY_PATH="$LD_LIBRARY_PATH"
 | 
				
			||||||
	LD_LIBRARY_PATH="$LIBDIR:$LD_LIBARY_PATH"
 | 
						LD_LIBRARY_PATH="$LIBDIR:$old_LD_LIBARY_PATH"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
	LD_LIBRARY_PATH="$LIBDIR"
 | 
						LD_LIBRARY_PATH="$LIBDIR"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user