[20460] Windows build: fix upload code

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/2.4@20467 57a11ea4-9604-0410-9ed3-97b8803252fd
2.4
Geert Janssens 15 years ago
parent c4732b3c9e
commit 633d6a8e1c

@ -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

Loading…
Cancel
Save