Only use cygpath for cygwin shells.

This commit is contained in:
James Benton 2016-07-06 20:21:55 +01:00
parent 0ac58e8bf4
commit 1ae09d4cf5
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
ifeq ($(OS),Windows_NT)
ifeq ($(shell uname -o),Cygwin)
WUT_ROOT := $(shell cygpath -w ${CURDIR})
else
WUT_ROOT := $(CURDIR)

View File

@ -1,6 +1,6 @@
.SUFFIXES:
ifeq ($(OS),Windows_NT)
ifeq ($(shell uname -o),Cygwin)
CUR_DIR := $(shell cygpath -w ${CURDIR})
else
CUR_DIR := $(CURDIR)

View File

@ -4,7 +4,7 @@ ifeq ($(strip $(WUT_ROOT)),)
$(error "Please ensure WUT_ROOT is in your environment.")
endif
ifeq ($(OS),Windows_NT)
ifeq ($(shell uname -o),Cygwin)
ROOT := $(shell cygpath -w ${CURDIR})
WUT_ROOT := $(shell cygpath -w ${WUT_ROOT})
else