Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Commit

Permalink
- определение параметров командной строки для PowerShell разделены по ОС
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-s-betke committed Oct 1, 2017
1 parent 47327ce commit ddb8eda
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ITG.MakeUtils/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,21 @@ endif

OSabsPath = $(call OSPath,$(abspath $1))

ifeq ($(OS),Windows_NT)

PowerShell ?= \
powershell \
-NoLogo \
-NonInteractive \
-NoProfile \
-ExecutionPolicy unrestricted

else

PowerShell ?= powershell

endif

# $(call psExecuteCommand,powershellScriptBlock)
psExecuteCommand = \
$(PowerShell) \
Expand Down

0 comments on commit ddb8eda

Please sign in to comment.