summaryrefslogtreecommitdiffstats
path: root/build_tools/bin/mpv2.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/bin/mpv2.py')
-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