CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     ott <[EMAIL PROTECTED]> 05/05/22 23:12:27

Modified files:
        .              : Makefile.am 

Log message:
        small tweak: don't mkdir_p if directory already exists

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/Makefile.am.diff?tr1=1.36&tr2=1.37&r1=text&r2=text

Patches:
Index: wesnoth/Makefile.am
diff -u wesnoth/Makefile.am:1.36 wesnoth/Makefile.am:1.37
--- wesnoth/Makefile.am:1.36    Sun May 22 21:39:06 2005
+++ wesnoth/Makefile.am Sun May 22 23:12:27 2005
@@ -31,7 +31,7 @@
        test -z "$(pkgdatadir)" || $(mkdir_p) "$(DESTDIR)$(pkgdatadir)"
        srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
        ( $(finddatadirs) ) | while read p; do \
-         $(mkdir_p) "$$p"; \
+         test -d "$$p" || $(mkdir_p) "$$p"; \
        done
        ( $(finddata) ) | while read p; do \
          $(w_preparefileinstall) \


Reply via email to