Win32 tag build: avoid Windows paths in git commands

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22323 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2012-08-16 11:12:40 +00:00
parent a268c78406
commit 07442aa119

View File

@ -80,10 +80,12 @@ for tag_rev in $tags ; do
cp -p $(unix_path ${DOWNLOAD_DIR})/* ${tagbasedir}/downloads cp -p $(unix_path ${DOWNLOAD_DIR})/* ${tagbasedir}/downloads
# Check out the tag and setup custom.sh # Check out the tag and setup custom.sh
$GIT_CMD clone ${REPO_URL} ${tagdir}/repos qpushd ${tagdir}
qpushd ${tagdir}/repos $GIT_CMD clone ${REPO_URL} repos
qpushd repos
$GIT_CMD checkout $tag $GIT_CMD checkout $tag
qpopd qpopd
qpopd
w32pkg=${tagdir}/repos/packaging/win32 w32pkg=${tagdir}/repos/packaging/win32
cp -p "${pkgdir}/custom.sh" ${w32pkg}/custom.sh cp -p "${pkgdir}/custom.sh" ${w32pkg}/custom.sh