summaryrefslogtreecommitdiffstats
path: root/build_tools/bin
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-03-30 18:49:10 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-03-30 18:49:10 (GMT)
commitad87735dab6842cada073bf2ba7a72bfbd713a55 (patch)
treefae1a4f497c93917f31df082c39620eca3a9a12c /build_tools/bin
parent6365351c8a2f5f145ee4e058e11cf3a6a5248a3f (diff)
downloadlinhes_dev-ad87735dab6842cada073bf2ba7a72bfbd713a55.zip
mpv2.py: recheck PKGBUILD in cases where git changes pkgver
Diffstat (limited to 'build_tools/bin')
-rwxr-xr-xbuild_tools/bin/mpv2.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/build_tools/bin/mpv2.py b/build_tools/bin/mpv2.py
index 9c60214..b3d5cf2 100755
--- a/build_tools/bin/mpv2.py
+++ b/build_tools/bin/mpv2.py
@@ -525,6 +525,10 @@ class Packagefile(object):
print "- Copying files and updating database"
# pkgname could be a list of several pkgs. Since bash array format is
# loose, let bash parse the pkgname(s) first, then return a list for us.
+ self.updateINIT()
+ if self.arch == 'any':
+ self.CARCH = 'any'
+
os.chdir(self.DOCROOT)
print