Windows build: fix upload code

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20460 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2011-03-23 21:38:21 +00:00
parent 566887f20e
commit 003c73794a

View File

@ -84,7 +84,9 @@ if [ `hostname` = "gnucash-win32" ]; then
TARGET_DIR=${REPOS_URL##*/}
fi
# Small hack to create the target directory if it doesn't exist yet
scp -r $TARGET_DIR upload@code.gnucash.org:public_html/win32
mkdir "$TMP_DIR/$TARGET_DIR"
scp -r "$TMP_DIR/$TARGET_DIR" upload@code.gnucash.org:public_html/win32
rmdir "$TMP_DIR/$TARGET_DIR"
# Copy the files to the chosen target directory
scp -p ${LOGFILE} ${_OUTPUT_DIR}/${SETUP_FILENAME} upload@code.gnucash.org:public_html/win32/$TARGET_DIR
fi