summaryrefslogtreecommitdiff
path: root/wbuild.sh
blob: 54e6e66b63764ea7d33d4e9df0f7f721fa73aa8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#/bin/bash
##
##	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
		powershell.exe Get-Help $pscript -detailed
		exit 0
	elif [ $1 = "-?" ]; then
		shift
		powershell.exe Get-Help $pscript $*
		exit 0
	fi
fi
powershell.exe $pscript $*