qt/qt-copy-patches-svn_checkout.sh
Rex Dieter db977ee129 - qt-copy-patches-20090215
- License: +LGPLv2
2009-02-15 23:50:18 +00:00

24 lines
468 B
Bash
Executable File

#!/bin/bash
DATE=$(date +%Y%m%d)
EXPORT_DIR=qt-copy
set -x
rm -rf $EXPORT_DIR
# trunk tracking qt-4.5 now
SVN_ROOT=svn://anonsvn.kde.org/home/kde/trunk/qt-copy
svn export --non-recursive $SVN_ROOT $EXPORT_DIR/
svn export $SVN_ROOT/patches $EXPORT_DIR/patches
pushd $EXPORT_DIR
rm -f ../qt-copy-patches-${DATE}svn.tar.bz2
tar cjf ../qt-copy-patches-${DATE}svn.tar.bz2 \
.applied_patches apply_patches README.qt-copy patches/
popd
# cleanup
rm -rf $EXPORT_DIR