]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix variable name copy/paste error in build-installer.py (GH-13038)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 3 Jun 2019 03:39:38 +0000 (20:39 -0700)
committerGitHub <noreply@github.com>
Mon, 3 Jun 2019 03:39:38 +0000 (20:39 -0700)
(cherry picked from commit d337169156933eaf732566bf29eb968549ada5e8)

Co-authored-by: cclauss <cclauss@me.com>
Mac/BuildScript/build-installer.py

index 74d1e84f4a9bfe5639477ddf65767eb70ec36888..bf038797c5e9e3db4dc7a65cd18b617d7928f5ad 100755 (executable)
@@ -1553,7 +1553,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"))