Patchwork [v2] osx: explicitly build hg with /usr/bin/python2.7

login
register
mail settings
Submitter Kevin Bullock
Date July 13, 2016, 6:14 p.m.
Message ID <4D6633AC-730B-48C8-90D7-46BB01EEBE5C@ringworld.org>
Download mbox | patch
Permalink /patch/15833/
State Not Applicable
Headers show

Comments

Patch

--- /Users/kbullock/Source/Projects/hg/hg/tests/test-mac-packages.t
+++ /Users/kbullock/Source/Projects/hg/hg/tests/test-mac-packages.t.err
@@ -45,9 +45,15 @@ 
 
 Make sure the built binary uses the system Python interpreter
   $ tar xf mercurial.pkg/Payload usr/local/bin
+  tar: This does not look like a tar archive
+  tar: Skipping to next header
+  tar: usr/local/bin: Not found in archive
+  tar: Exiting with failure status due to previous errors
+  [2]
 Use a glob to find this to avoid check-code whining about a fixed path.
   $ head -n 1 usr/local/b?n/hg
-  #!/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
+  head: usr/local/b?n/hg: No such file or directory
+  [1]
 
 Note that we're not currently installing any /etc/mercurial stuff,
 including merge-tool configurations.