summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-01-02 23:14:39 +0000
committerglx <glx@openttd.org>2007-01-02 23:14:39 +0000
commitfcf444555f69e0e982f35fa1b0ba57ccfc7b1957 (patch)
treea327d6510795e9246c92e91b664241e70489aa98
parent9dfec8b72bfbe97f9850e2213fc339c657c7b227 (diff)
downloadopenttd-fcf444555f69e0e982f35fa1b0ba57ccfc7b1957.tar.xz
(svn r7779) [Configure] -Fix: simplify scenario and scenario/heightmaps dir existance check
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index a50d9da83..818e9d00b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -171,10 +171,10 @@ endif
$(Q)cp "$(ROOT_DIR)/media/openttd.64.png" "$(BUNDLE_DIR)/media/"
$(Q)cp "$(ROOT_DIR)/media/openttd.32.xpm" "$(BUNDLE_DIR)/media/"
$(Q)cp "$(ROOT_DIR)/media/openttd.32.bmp" "$(BUNDLE_DIR)/media/"
-ifeq ($(shell if test -d $(BIN_DIR)/scenario/*.scn; then echo 1; fi), 1)
+ifeq ($(shell if test -d "$(BIN_DIR)/scenario"; then echo 1; fi), 1)
$(Q)cp "$(BIN_DIR)/scenario/"*.scn "$(BUNDLE_DIR)/scenario/"
endif
-ifeq ($(shell if test -d $(BIN_DIR)/scenario/heightmaps/*; then echo 1; fi), 1)
+ifeq ($(shell if test -d "$(BIN_DIR)/scenario/heightmaps"; then echo 1; fi), 1)
$(Q)cp "$(BIN_DIR)/scenario/heightmaps/"* "$(BUNDLE_DIR)/scenario/heightmap/"
endif