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

Commit

Permalink
* cygpath используем только под cygwin [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-s-betke committed Jul 3, 2018
1 parent dc3e677 commit 9ec63f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ITG.MakeUtils/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ endif
#region obsolete cygpath related functions
winPath = $(call _obsolete_function,winPath)$(shell cygpath -w $1)
shellPath = $(call _obsolete_function,shellPath)$(shell cygpath -u $1)
OSPath = $(call _deprecated_function,OSPath)$1
OSPath = $(call _obsolete_function,OSPath)$1
OSabsPath = $(call _deprecated_function,OSabsPath)$(abspath $1)
#endregion obsolete cygpath related functions

Expand All @@ -128,6 +128,7 @@ PowerShell := powershell
# под cygwin $(MAKE) == '/usr/bin/make'. Поэтому приходится явно переназначать.
ifeq ($(MAKE),/usr/bin/make)
MAKE := make
OSabsPath = $(call _deprecated_function,OSabsPath)$(shell cygpath -w $(abspath $1))
endif

else
Expand Down

0 comments on commit 9ec63f1

Please sign in to comment.