[postgis-tickets] r15046 - Fix line endings

Sandro Santilli strk at kbt.io
Sat Aug 27 15:46:30 PDT 2016


Author: strk
Date: 2016-08-27 15:46:30 -0700 (Sat, 27 Aug 2016)
New Revision: 15046

Modified:
   trunk/extras/tiger_geocoder/create_geocode.bat
   trunk/extras/tiger_geocoder/upgrade_geocoder.bat
Log:
Fix line endings

See
https://lists.osgeo.org/pipermail/postgis-devel/2016-August/025905.html

Modified: trunk/extras/tiger_geocoder/create_geocode.bat
===================================================================
--- trunk/extras/tiger_geocoder/create_geocode.bat	2016-08-17 19:31:34 UTC (rev 15045)
+++ trunk/extras/tiger_geocoder/create_geocode.bat	2016-08-27 22:46:30 UTC (rev 15046)
@@ -1,19 +1,19 @@
-set PGPORT=5432
-set PGHOST=localhost
-set PGUSER=postgres
-set PGPASSWORD=yourpasswordhere
-set THEDB=geocoder
-set PGBIN=C:\Program Files\PostgreSQL\9.1\bin
-set PGCONTRIB=C:\Program Files\PostgreSQL\9.1\share\contrib
-REM "%PGBIN%\psql" -d "%THEDB%" -f "%PGCONTRIB%\fuzzystrmatch.sql"
-REM If you are using PostgreSQL 9.1 or above, use the extension syntax instead as shown below
-"%PGBIN%\psql"  -d "%THEDB%" -c "CREATE EXTENSION fuzzystrmatch;" 
-"%PGBIN%\psql"  -d "%THEDB%" -c "CREATE SCHEMA tiger;"
-REM unremark this next line and edit if you want the search paths set as part of the install
-REM "%PGBIN%\psql" -d "%THEDB%" -c "ALTER DATABASE %THEDB% SET search_path=public, tiger;"
-"%PGBIN%\psql"  -d "%THEDB%" -f "create_geocode.sql"
-REM "%PGBIN%\psql"  -d "%THEDB%" -f "tables\lookup_tables_2011.sql"
-"%PGBIN%\psql"  -d "%THEDB%" -c "CREATE SCHEMA tiger_data;"
-"%PGBIN%\psql"  -d "%THEDB%" -f "tiger_loader_2016.sql;"
-pause
-
+set PGPORT=5432
+set PGHOST=localhost
+set PGUSER=postgres
+set PGPASSWORD=yourpasswordhere
+set THEDB=geocoder
+set PGBIN=C:\Program Files\PostgreSQL\9.1\bin
+set PGCONTRIB=C:\Program Files\PostgreSQL\9.1\share\contrib
+REM "%PGBIN%\psql" -d "%THEDB%" -f "%PGCONTRIB%\fuzzystrmatch.sql"
+REM If you are using PostgreSQL 9.1 or above, use the extension syntax instead as shown below
+"%PGBIN%\psql"  -d "%THEDB%" -c "CREATE EXTENSION fuzzystrmatch;" 
+"%PGBIN%\psql"  -d "%THEDB%" -c "CREATE SCHEMA tiger;"
+REM unremark this next line and edit if you want the search paths set as part of the install
+REM "%PGBIN%\psql" -d "%THEDB%" -c "ALTER DATABASE %THEDB% SET search_path=public, tiger;"
+"%PGBIN%\psql"  -d "%THEDB%" -f "create_geocode.sql"
+REM "%PGBIN%\psql"  -d "%THEDB%" -f "tables\lookup_tables_2011.sql"
+"%PGBIN%\psql"  -d "%THEDB%" -c "CREATE SCHEMA tiger_data;"
+"%PGBIN%\psql"  -d "%THEDB%" -f "tiger_loader_2016.sql;"
+pause
+

Modified: trunk/extras/tiger_geocoder/upgrade_geocoder.bat
===================================================================
--- trunk/extras/tiger_geocoder/upgrade_geocoder.bat	2016-08-17 19:31:34 UTC (rev 15045)
+++ trunk/extras/tiger_geocoder/upgrade_geocoder.bat	2016-08-27 22:46:30 UTC (rev 15046)
@@ -1,19 +1,19 @@
-set PGPORT=5432
-set PGHOST=localhost
-set PGUSER=postgres
-set PGPASSWORD=yourpasswordhere
-set THEDB=geocoder
-set PGBIN=C:\Program Files\PostgreSQL\9.4\bin
-set PGCONTRIB=C:\Program Files\PostgreSQL\9.4\share\contrib
-
-"%PGBIN%\psql"  -d "%THEDB%" -f "upgrade_geocode.sql"
-
-REM "%PGBIN%\psql" -d "%THEDB%" -c "ALTER EXTENSION postgis_tiger_geocoder UPDATE;"
-
-REM unremark the loader line to update your loader scripts
-REM note this wipes out your custom settings in loader_* tables
-REM "%PGBIN%\psql"  -d "%THEDB%" -f "tiger_loader_2016.sql"
-cd regress
-REM "%PGBIN%\psql"  -d "%THEDB%" -t -f regress.sql
-pause
-
+set PGPORT=5432
+set PGHOST=localhost
+set PGUSER=postgres
+set PGPASSWORD=yourpasswordhere
+set THEDB=geocoder
+set PGBIN=C:\Program Files\PostgreSQL\9.4\bin
+set PGCONTRIB=C:\Program Files\PostgreSQL\9.4\share\contrib
+
+"%PGBIN%\psql"  -d "%THEDB%" -f "upgrade_geocode.sql"
+
+REM "%PGBIN%\psql" -d "%THEDB%" -c "ALTER EXTENSION postgis_tiger_geocoder UPDATE;"
+
+REM unremark the loader line to update your loader scripts
+REM note this wipes out your custom settings in loader_* tables
+REM "%PGBIN%\psql"  -d "%THEDB%" -f "tiger_loader_2016.sql"
+cd regress
+REM "%PGBIN%\psql"  -d "%THEDB%" -t -f regress.sql
+pause
+



More information about the postgis-tickets mailing list