From 40fdf7804e79a49b278376ae6796bc7bfc7c91f1 Mon Sep 17 00:00:00 2001 From: "sergey.s.betke" Date: Fri, 22 Sep 2017 11:30:34 +0300 Subject: [PATCH] =?UTF-8?q?+=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=BC=D0=B0=D0=BA=D1=80=D0=BE=D1=81=20`OSabsPath`=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D0=BA=D1=80=D0=BE=D1=81=D1=81=D0=BF=D0=BB?= =?UTF-8?q?=D0=B0=D1=82=D1=84=D0=BE=D1=80=D0=BC=D0=B5=D0=BD=D0=BD=D0=BE?= =?UTF-8?q?=D1=81=D1=82=D0=B8=20(=D0=B2=D1=8B=D1=87=D0=B8=D1=81=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D1=82=20=D0=B0=D0=B1=D1=81=D0=BE=D0=BB=D1=8E=D1=82?= =?UTF-8?q?=D0=BD=D1=8B=D0=B9=20=D0=BF=D1=83=D1=82=D1=8C=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D0=9E=D0=A1,=20=D0=B0=20=D0=BD=D0=B5=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D1=82=D0=B5=D0=BA=D1=83=D1=89=D0=B5=D0=B9=20=D0=BE?= =?UTF-8?q?=D0=B1=D0=BE=D0=BB=D0=BE=D1=87=D0=BA=D0=B8)=20(#11)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ITG.MakeUtils/common.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ITG.MakeUtils/common.mk b/ITG.MakeUtils/common.mk index 9a1da36f..9cc1df2c 100644 --- a/ITG.MakeUtils/common.mk +++ b/ITG.MakeUtils/common.mk @@ -68,6 +68,12 @@ winPath = $(shell cygpath -w $1) # $(call shellPath,sourcePathOrFileName) shellPath = $(shell cygpath -u $1) +ifeq ($(OS),Windows_NT) + OSabsPath = $(winPath) +else + OSabsPath = $(abspath $1) +endif + # $(call psExecuteCommand,powershellScriptBlock) psExecuteCommand = \ powershell \