summaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/bin/mp.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/build_tools/bin/mp.py b/build_tools/bin/mp.py
index 0d7f98d..6339ac1 100755
--- a/build_tools/bin/mp.py
+++ b/build_tools/bin/mp.py
@@ -479,6 +479,10 @@ os.chdir(mydir)
if os.path.isfile(pkgfile + '.old'):
os.remove(pkgfile + '.old')
print "Removed temporary backup file",pkgfile + '.old'
+#remove src.tar.gz so it stops cluttering up git
+if os.path.islink(SRCPKG):
+ os.unlink(SRCPKG)
+
# Remove any old -build and -package log files
os.chdir(mydir)