From: Regina Obe Date: Sat, 26 Mar 2011 23:42:55 +0000 (+0000) Subject: more typo corrections X-Git-Tag: 2.0.0alpha1~1831 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f83c9c1e5122b74d5b78e8267afc18bbeeff271;p=postgis more typo corrections git-svn-id: http://svn.osgeo.org/postgis/trunk@6971 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/extras/tiger_geocoder/tiger_2010/create_geocode.sh b/extras/tiger_geocoder/tiger_2010/create_geocode.sh index 05f34cfe0..67c5c3456 100644 --- a/extras/tiger_geocoder/tiger_2010/create_geocode.sh +++ b/extras/tiger_geocoder/tiger_2010/create_geocode.sh @@ -1,14 +1,14 @@ # $Id$ -export PGPORT=5432 -export PGHOST=localhost -export PGUSER=postgres -export PGPASSWORD=yourpasswordhere -export THEDB=geocoder +PGPORT=5432 +PGHOST=localhost +PGUSER=postgres +PGPASSWORD=yourpasswordhere +THEDB=geocoder PSQL_CMD="psql" PGCONTRIB=/usr/share/contrib -${PSQL_CMD} -d "%THEDB%" -f "${PGCONTRIB}/fuzzystrmatch.sql" -${PSQL_CMD} -d "%THEDB%" -c "CREATE SCHEMA tiger" -${PSQL_CMD} -d "%THEDB%" -f "tables/lookup_tables_2010.sql" -${PSQL_CMD} -d "%THEDB%" -c "CREATE SCHEMA tiger_data" -${PSQL_CMD} -d "%THEDB%" -f "tiger_loader.sql" -${PSQL_CMD} -d "%THEDB%" -f "create_geocode.sql" \ No newline at end of file +${PSQL_CMD} -d "${THEDB}" -f "${PGCONTRIB}/fuzzystrmatch.sql" +${PSQL_CMD} -d "${THEDB}" -c "CREATE SCHEMA tiger" +${PSQL_CMD} -d "${THEDB}" -f "tables/lookup_tables_2010.sql" +${PSQL_CMD} -d "${THEDB}" -c "CREATE SCHEMA tiger_data" +${PSQL_CMD} -d "${THEDB}" -f "tiger_loader.sql" +${PSQL_CMD} -d "${THEDB}" -f "create_geocode.sql" \ No newline at end of file diff --git a/extras/tiger_geocoder/tiger_2010/tiger_loader.sql b/extras/tiger_geocoder/tiger_2010/tiger_loader.sql index 5c6107353..44962687c 100644 --- a/extras/tiger_geocoder/tiger_2010/tiger_loader.sql +++ b/extras/tiger_geocoder/tiger_2010/tiger_loader.sql @@ -59,7 +59,7 @@ PGUSER=postgres PGPASSWORD=yourpasswordhere PGDATABASE=geocoder PSQL=psql -SHP2PGSQ=shp2pgsql +SHP2PGSQL=shp2pgsql ', E'rm -f ${TMPDIR}/*.* ${PSQL} -c "DROP SCHEMA tiger_staging CASCADE;" ${PSQL} -c "CREATE SCHEMA tiger_staging;"