]> 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:36:33 +0000 (20:36 -0700)
committerGitHub <noreply@github.com>
Mon, 3 Jun 2019 03:36:33 +0000 (20:36 -0700)
(cherry picked from commit d337169156933eaf732566bf29eb968549ada5e8)

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

index 2e3a61ec71d1838182204c3d2e8e62447a588aa7..3ee2fba826884c5d11753f36e9ee0bbaf6644289 100755 (executable)
@@ -1538,7 +1538,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"))