diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index 7c16c1f43e4eb32c46777d143bbe451018165edd..043b345cbfd43ec861877588b3a1eed125201cea 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -897,7 +897,7 @@ def package_finish(self):
                         else:
                             print >> sys.stderr, "Maximum codesign attempts exceeded; giving up"
                             raise
-                self.run_command('spctl -a -texec -vv %(bundle)r' % self.get_dst_prefix())
+                self.run_command('spctl -a -texec -vv %(bundle)r' % { 'bundle': self.get_dst_prefix() })
 
         imagename="SecondLife_" + '_'.join(self.args['version'])