summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/deploy-release.py
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/deploy-release.py')
-rwxr-xr-xrbutil/rbutilqt/deploy-release.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/deploy-release.py b/rbutil/rbutilqt/deploy-release.py
index 034fff5dcc..fc831efcf5 100755
--- a/rbutil/rbutilqt/deploy-release.py
+++ b/rbutil/rbutilqt/deploy-release.py
@@ -81,6 +81,7 @@ svnpaths = [ "rbutil/",
81 "tools/ucl", 81 "tools/ucl",
82 "tools/rbspeex", 82 "tools/rbspeex",
83 "apps/codecs/libspeex", 83 "apps/codecs/libspeex",
84 "docs/COPYING",
84 "tools/iriver.c", 85 "tools/iriver.c",
85 "tools/Makefile", 86 "tools/Makefile",
86 "tools/mkboot.h", 87 "tools/mkboot.h",
@@ -117,10 +118,17 @@ def getsources(svnsrv, filelist, dest):
117 for elem in filelist: 118 for elem in filelist:
118 url = re.subn('/$', '', svnsrv + elem)[0] 119 url = re.subn('/$', '', svnsrv + elem)[0]
119 destpath = re.subn('/$', '', dest + elem)[0] 120 destpath = re.subn('/$', '', dest + elem)[0]
121 # make sure the destination path does exist
122 d = os.path.dirname(destpath)
123 print d
124 if not os.path.exists(d):
125 os.makedirs(d)
126 # get from svn
120 try: 127 try:
121 client.export(url, destpath) 128 client.export(url, destpath)
122 except: 129 except:
123 print "SVN client error: %s" % sys.exc_value 130 print "SVN client error: %s" % sys.exc_value
131 print "URL: %s, destination: %s" % (url, destpath)
124 return -1 132 return -1
125 print "Checkout finished." 133 print "Checkout finished."
126 return 0 134 return 0