From: Hiroshi Inoue Date: Wed, 25 Mar 2020 06:40:54 +0000 (+0900) Subject: An improvement for psqlodbc developpers. Make it possible to call some shell scripts... X-Git-Tag: REL-12_02_0000~3 X-Git-Url: http://git.postgresql.org/gitweb/static/%7B%7Bpgdulink%28?a=commitdiff_plain;h=6efc4f37d4a4d404a3d9093b19f6c14b127fc8ca;p=psqlodbc.git An improvement for psqlodbc developpers. Make it possible to call some shell scripts from other directories. --- diff --git a/wbuild.sh b/wbuild.sh index fa1046c..54e6e66 100644 --- a/wbuild.sh +++ b/wbuild.sh @@ -3,6 +3,7 @@ ## Build all dlls of psqlodbc project for Windows ## from WSL or cygwin ## +cd $(dirname $0) pscript=winbuild/BuildAll.ps1 if [ $# -gt 0 ]; then if [ $1 = "/?" ]; then diff --git a/wconfig.sh b/wconfig.sh index 90bc724..dd6bdf0 100644 --- a/wconfig.sh +++ b/wconfig.sh @@ -2,4 +2,5 @@ ## ## Start editConfiguration with a mimimized console window ## +cd $(dirname $0) Powershell.exe -Sta -WindowStyle Minimized winbuild/editConfiguration.ps1 $* diff --git a/winstaller.sh b/winstaller.sh index 8d6e345..9c3b186 100644 --- a/winstaller.sh +++ b/winstaller.sh @@ -3,6 +3,7 @@ ## Build installers of psqlodbc project for Windows ## from WSL or cygwin ## +cd $(dirname $0) pscript=installer/buildInstallers.ps1 if [ $# -gt 0 ]; then if [ $1 = "/?" ]; then diff --git a/wregress.sh b/wregress.sh index ec4f0b9..f929e19 100644 --- a/wregress.sh +++ b/wregress.sh @@ -3,6 +3,7 @@ ## regression test on Windows using MSBuild ## from WSL or cygwin ## +cd $(dirname $0) pscript=winbuild/regress.ps1 if [ $# -gt 0 ]; then if [ $1 = "/?" ]; then