When installing msys dtk, when moving files out of the way, check that the source file exists

first.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18140 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Phil Longstaff 2009-06-20 23:39:04 +00:00
parent 6070dbf8ae
commit c53d7f6710

View File

@ -119,6 +119,7 @@ function inst_dtk() {
/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