# HG changeset patch # User glx # Date 1167779679 0 # Node ID 16fb36e0af27d829d926fc5fbb06d2025ee00cae # Parent 2b201653bf194e105b3858539d08529effe53579 (svn r7779) [Configure] -Fix: simplify scenario and scenario/heightmaps dir existance check diff -r 2b201653bf19 -r 16fb36e0af27 Makefile.in --- a/Makefile.in Tue Jan 02 22:52:46 2007 +0000 +++ b/Makefile.in Tue Jan 02 23:14:39 2007 +0000 @@ -171,10 +171,10 @@ $(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