wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth Makefile.am


From: ott
Subject: [Wesnoth-cvs-commits] wesnoth Makefile.am
Date: Sun, 22 May 2005 19:12:27 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     ott <address@hidden>    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

[Prev in Thread] Current Thread [Next in Thread]