1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 01:05:38 +02:00

Improve copying after signing

This commit is contained in:
Martin Oberhuber 2010-03-16 12:59:26 +00:00
parent 8aeec9ca17
commit b6c9b449eb

View file

@ -198,10 +198,16 @@ echo ""
echo "ls ${OUTPUT}" echo "ls ${OUTPUT}"
ls ${OUTPUT} ls ${OUTPUT}
echo "" echo ""
echo "cd ${DROPDIR}"
if [ ! -d ${DROPDIR}.unsigned ]; then if [ ! -d ${DROPDIR}.unsigned ]; then
echo "cp -Rp ${DROPDIR} ${DROPDIR}.unsigned" DROPBASE=`basename "${DROPDIR}"`
echo "chmod -R g+w ${DROPDIR}.unsigned" echo "mkdir ../${DROPBASE}.unsigned"
echo "tar cf - . | (cd ../${DROPBASE}.unsigned ; tar xf -)"
echo "chmod -R g+w ../${DROPBASE}.unsigned"
fi fi
echo "cp -f ${OUTPUT}/* ${DROPDIR}" echo "cp -f ${OUTPUT}/* ."
echo "rm -rf ${DROPDIR}/signed" echo "rm -rf signed"
echo "rm -rf install-ws eclipse_ext ${OUTPUT} ${RESULT}" echo "cd ${curdir}"
echo "rm -rf install-ws eclipse_ext"
echo "rm -rf ${OUTPUT}"
echo "rm -rf ${RESULT}"