summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/Makefile2
-rw-r--r--engines/ccgost/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/Makefile b/engines/Makefile
index 786716c11b..4bad384bfb 100644
--- a/engines/Makefile
+++ b/engines/Makefile
@@ -120,7 +120,7 @@ install:
for l in $(LIBNAMES); do \
( echo installing $$l; \
pfx=lib; \
- if [ "$(PLATFORM)" != "Cygwin" ]; then \
+ if ! expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
case "$(CFLAGS)" in \
*DSO_BEOS*) sfx=".so";; \
*DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \
diff --git a/engines/ccgost/Makefile b/engines/ccgost/Makefile
index c420237c8d..97fac82d6b 100644
--- a/engines/ccgost/Makefile
+++ b/engines/ccgost/Makefile
@@ -47,7 +47,7 @@ install:
set -e; \
echo installing $(LIBNAME); \
pfx=lib; \
- if [ "$(PLATFORM)" != "Cygwin" ]; then \
+ if ! expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
case "$(CFLAGS)" in \
*DSO_BEOS*) sfx=".so";; \
*DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \