]> granicus.if.org Git - python/commitdiff
Fix variable name copy/paste error in build-installer.py (GH-13038)
authorcclauss <cclauss@me.com>
Mon, 3 Jun 2019 03:19:44 +0000 (05:19 +0200)
committerNed Deily <nad@python.org>
Mon, 3 Jun 2019 03:19:44 +0000 (23:19 -0400)
Mac/BuildScript/build-installer.py

index fb43da5478f72820a8e68d6355c5e0961fda9ab7..60e28fee055d9ca99c528b076bf6ef56089e3889 100755 (executable)
@@ -1540,7 +1540,7 @@ def buildDMG():
         print(" -- retrying hdiutil create")
         time.sleep(5)
     else:
-        raise RuntimeError("command failed: %s"%(commandline,))
+        raise RuntimeError("command failed: %s"%(cmd,))
 
     if not os.path.exists(os.path.join(WORKDIR, "mnt")):
         os.mkdir(os.path.join(WORKDIR, "mnt"))