Skip to content

Commit

Permalink
Changed script path for psql command in tulosta_raportti.bat
Browse files Browse the repository at this point in the history
- Changes the intended path from where tulosta_raportti.bat is called from to the root folder.
  • Loading branch information
Mtk112 committed Jun 5, 2024
1 parent 422f9fb commit 4ddb89b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tulosta_raportti.bat
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ CHCP 65001
REM Kerrotaan Postgresille, että terminaalin encoding on UTF-8.
SET PGCLIENTENCODING=UTF8

"%QGIS_BIN_PATH%\\psql" -v csv_path=%~1 -v check_date=%~2 -v municipality=%~3 -v count_apartments=%~4 -v taajama_size=%~5 -h %JKR_DB_HOST% -p %JKR_DB_PORT% -d %JKR_DB% -U %JKR_USER% -f tulosta_raportti.sql
"%QGIS_BIN_PATH%\\psql" -v csv_path=%~1 -v check_date=%~2 -v municipality=%~3 -v count_apartments=%~4 -v taajama_size=%~5 -h %JKR_DB_HOST% -p %JKR_DB_PORT% -d %JKR_DB% -U %JKR_USER% -f scripts\tulosta_raportti.sql

ECHO Valmis!

0 comments on commit 4ddb89b

Please sign in to comment.