diff options
author | Tony Kelman <tony@kelman.net> | 2016-08-09 20:23:52 -0700 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-08-12 19:15:17 -0400 |
commit | 2d427c09cff6e7666e07c301c4b46c6206362a36 (patch) | |
tree | 5e2e4a6a3a32e2f9662ef249130a5b93669e0189 /Makefile | |
parent | e725f4d1607312a8ed3a5690e2926c26d5c48a61 (diff) | |
download | moreutils-2d427c09cff6e7666e07c301c4b46c6206362a36.tar.gz |
Modify Cygwin check to use findstring instead of uname -o
Since Darwin's uname complains about 'illegal option -- o'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ CFLAGS?=-O2 -g -Wall INSTALL_BIN?=install -s PREFIX?=/usr -ifeq ($(shell uname -o),Cygwin) +ifneq (,$(findstring CYGWIN,$(shell uname))) DOCBOOKXSL?=/usr/share/sgml/docbook/xsl-stylesheets else DOCBOOKXSL?=/usr/share/xml/docbook/stylesheet/docbook-xsl |