Let wget download to a UNIX path.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16120 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler 2007-05-23 17:21:03 +00:00
parent 74092e309d
commit 3ddd959fc8

View File

@ -56,7 +56,7 @@ function smart_wget() {
# download the file to the tmpdir and then when that completes
# move it to the dest dir.
if [ ! -f $_DLD/$_FILE ] ; then
wget --passive-ftp -c $1 -P $TMP_DIR
wget --passive-ftp -c $1 -P $TMP_UDIR
mv $TMP_UDIR/$_FILE $_DLD
fi
LAST_FILE=$_DLD/$_FILE