[BACK]Return to patch-build_data_mk CVS log [TXT][DIR] Up to [local] / ports / games / ufoai / base / patches

File: [local] / ports / games / ufoai / base / patches / Attic / patch-build_data_mk (download)

Revision 1.1, Wed Apr 27 07:45:43 2011 UTC (13 years, 2 months ago) by yason
Branch: MAIN
CVS Tags: ufoai_2-3-1

supress find warnings on fake stage

$OpenBSD$
--- build/data.mk.orig	Wed Apr 27 15:08:32 2011
+++ build/data.mk	Wed Apr 27 15:09:40 2011
@@ -20,7 +20,7 @@ ZIP_DEL_OPTS = d -tzip
 # bonus points if you can get this to work using 7za
 ZIP_LIST =
 else
-FIND = find $(addprefix $(BASE_DIR)/,$(1)) -type f -print
+FIND = test -d $(addprefix $(BASE_DIR)/,$(1)) && find $(addprefix $(BASE_DIR)/,$(1)) -type f -print
 ZIP = 7za
 ZIP_UP_OPTS = a -tzip -mx=9
 ZIP_DEL_OPTS = d -tzip