mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
Only use cygpath for cygwin shells.
This commit is contained in:
parent
0ac58e8bf4
commit
1ae09d4cf5
2
Makefile
2
Makefile
@ -1,4 +1,4 @@
|
||||
ifeq ($(OS),Windows_NT)
|
||||
ifeq ($(shell uname -o),Cygwin)
|
||||
WUT_ROOT := $(shell cygpath -w ${CURDIR})
|
||||
else
|
||||
WUT_ROOT := $(CURDIR)
|
||||
|
@ -1,6 +1,6 @@
|
||||
.SUFFIXES:
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
ifeq ($(shell uname -o),Cygwin)
|
||||
CUR_DIR := $(shell cygpath -w ${CURDIR})
|
||||
else
|
||||
CUR_DIR := $(CURDIR)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user