diff options
| author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-11-20 21:04:23 +0000 |
|---|---|---|
| committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2009-11-20 21:04:23 +0000 |
| commit | 1717217cb852913cc21b044a779cad980564e989 (patch) | |
| tree | d36e6044940fd7d091f1e1861969e679e182dc77 | |
| parent | 7d4ca1a85a911b4109799f9200f08818961717f5 (diff) | |
| download | rockbox-1717217cb852913cc21b044a779cad980564e989.zip rockbox-1717217cb852913cc21b044a779cad980564e989.tar.gz rockbox-1717217cb852913cc21b044a779cad980564e989.tar.bz2 rockbox-1717217cb852913cc21b044a779cad980564e989.tar.xz | |
Add docs/COPYING to rbutil source folder and make checkout slightly more robust.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23679 a1c6a512-1295-4272-9138-f99709370657
| -rwxr-xr-x | rbutil/rbutilqt/deploy-release.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/deploy-release.py b/rbutil/rbutilqt/deploy-release.py index 034fff5..fc831ef 100755 --- a/rbutil/rbutilqt/deploy-release.py +++ b/rbutil/rbutilqt/deploy-release.py @@ -81,6 +81,7 @@ svnpaths = [ "rbutil/", "tools/ucl", "tools/rbspeex", "apps/codecs/libspeex", + "docs/COPYING", "tools/iriver.c", "tools/Makefile", "tools/mkboot.h", @@ -117,10 +118,17 @@ def getsources(svnsrv, filelist, dest): for elem in filelist: url = re.subn('/$', '', svnsrv + elem)[0] destpath = re.subn('/$', '', dest + elem)[0] + # make sure the destination path does exist + d = os.path.dirname(destpath) + print d + if not os.path.exists(d): + os.makedirs(d) + # get from svn try: client.export(url, destpath) except: print "SVN client error: %s" % sys.exc_value + print "URL: %s, destination: %s" % (url, destpath) return -1 print "Checkout finished." return 0 |