summaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-08-03 23:22:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-08-03 23:22:35 (GMT)
commit46446c698767f46e13c803b1a3aea956a252ee5f (patch)
tree8cbf44a6a1c90031fd6af16fbb1ba80617243b99 /build_tools
parentb7c82adb5afd3791eda59133df205f47c1213d33 (diff)
downloadlinhes_dev-46446c698767f46e13c803b1a3aea956a252ee5f.zip
mp.py: remove link to the source package created by makepkg.
This was done because git showed them as untracked, and a wildcard to gitignore would have blob'd to much.
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)