Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: tools/create_tarball.py

Issue 150573020: Don't include the builddir in the source tarball (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_tarball.py
diff --git a/tools/create_tarball.py b/tools/create_tarball.py
index c2dd5d9297d80397e307b30805566369d66aefc0..caaa81c991084395a4951a93dee61f2a0bde28cc 100755
--- a/tools/create_tarball.py
+++ b/tools/create_tarball.py
@@ -112,9 +112,11 @@ def CreateTarball():
tarname = '%s.tar.gz' % versiondir
debian_dir = 'tools/linux_dist_support/debian'
# Create the tar file in the build directory.
- tardir = join(DART_DIR, utils.GetBuildDir(HOST_OS, HOST_OS))
- # Don't include the build directory in the tarball.
- ignoredPaths.append(tardir)
+ builddir = utils.GetBuildDir(HOST_OS, HOST_OS)
+ tardir = join(DART_DIR, builddir)
+ # Don't include the build directory in the tarball (ignored paths
+ # are relative to DART_DIR).
+ ignoredPaths.append(builddir)
if not exists(tardir):
makedirs(tardir)
tarfilename = join(tardir, tarname)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698