Fix the other redirection to $@ (hopefully very unlikely to trigger, I suspect very...
authorRaja R Harinath <harinath@hurrynot.org>
Tue, 19 Sep 2006 14:50:28 +0000 (14:50 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Tue, 19 Sep 2006 14:50:28 +0000 (14:50 -0000)
svn path=/trunk/mono/; revision=65655

runtime/Makefile.am

index 05e622d07d7152fca15963f17ca37927520604d6..8a2fd6550883dc4a3baf0bf6500fbd7812aacc4e 100644 (file)
@@ -103,12 +103,10 @@ CLEANFILES = etc/mono/config
 etc/mono/config: ../data/config Makefile $(symlinks)
        d=`cd ../support && pwd`; \
        sed 's,target="libMonoPosixHelper[^"]*",target="'$$d/libMonoPosixHelper.la'",' ../data/config > $@t
-       if test -z "$(libgdiplus_loc)"; then \
-         mv -f $@t $@; \
-       else \
-         sed 's,<configuration>,& <dllmap dll="gdiplus.dll" target="$(libgdiplus_loc)" />,' $@t > $@; \
-         rm -f $@t; \
-       fi
+       if test -z "$(libgdiplus_loc)"; then :; else \
+         sed 's,<configuration>,& <dllmap dll="gdiplus.dll" target="$(libgdiplus_loc)" />,' $@t > $@tt; \
+         mv -f $@tt $@t; fi
+       mv -f $@t $@
 
 $(tmpinst)/bin/mono: mono-wrapper etc/mono/config
        cp mono-wrapper $@