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