r18140 - gnucash/trunk/packaging/win32 - When installing msys dtk, when moving files out of the way, check that the source file exists

Phil Longstaff plongstaff at code.gnucash.org
Sat Jun 20 19:39:04 EDT 2009


Author: plongstaff
Date: 2009-06-20 19:39:04 -0400 (Sat, 20 Jun 2009)
New Revision: 18140
Trac: http://svn.gnucash.org/trac/changeset/18140

Modified:
   gnucash/trunk/packaging/win32/install.sh
Log:
When installing msys dtk, when moving files out of the way, check that the source file exists
first.


Modified: gnucash/trunk/packaging/win32/install.sh
===================================================================
--- gnucash/trunk/packaging/win32/install.sh	2009-06-20 03:44:53 UTC (rev 18139)
+++ gnucash/trunk/packaging/win32/install.sh	2009-06-20 23:39:04 UTC (rev 18140)
@@ -119,6 +119,7 @@
             /bin/{aclocal*,auto*,ifnames,libtool*,guile*} \
             /share/{aclocal,aclocal-1.7,autoconf,autogen,automake-1.7,guile,libtool}
         do
+			[ -f $file ] || continue
             [ "${file##*.bak}" ] || continue
             _dst_file=$file.bak
             while [ -e $_dst_file ]; do _dst_file=$_dst_file.bak; done



More information about the gnucash-changes mailing list