{"action":"opened","issue":{"url":"https://api.github.com/repos/timcharper/git_osx_installer/issues/39","labels_url":"https://api.github.com/repos/timcharper/git_osx_installer/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/timcharper/git_osx_installer/issues/39/comments","events_url":"https://api.github.com/repos/timcharper/git_osx_installer/issues/39/events","html_url":"https://github.com/timcharper/git_osx_installer/issues/39","id":59358245,"number":39,"title":"version number not passed through to Makefile","user":{"login":"paulschreiber","id":86784,"avatar_url":"https://avatars.githubusercontent.com/u/86784?v=3","gravatar_id":"","url":"https://api.github.com/users/paulschreiber","html_url":"https://github.com/paulschreiber","followers_url":"https://api.github.com/users/paulschreiber/followers","following_url":"https://api.github.com/users/paulschreiber/following{/other_user}","gists_url":"https://api.github.com/users/paulschreiber/gists{/gist_id}","starred_url":"https://api.github.com/users/paulschreiber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulschreiber/subscriptions","organizations_url":"https://api.github.com/users/paulschreiber/orgs","repos_url":"https://api.github.com/users/paulschreiber/repos","events_url":"https://api.github.com/users/paulschreiber/events{/privacy}","received_events_url":"https://api.github.com/users/paulschreiber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-28T21:03:08Z","updated_at":"2015-02-28T21:03:08Z","closed_at":null,"body":"The version number is not passed through to Makefile:\r\n\r\n```\r\n$ ./build_package_test_and_bundle.sh \r\n2.3.1\r\nsudo rm -f build/intel-universal-snow-leopard/git-/osx-* /usr/local/git/VERSION-*\r\nPassword:\r\ncd build/intel-universal-snow-leopard/git- && /Applications/Xcode.app/Contents/Developer/usr/bin/make C_INCLUDE_PATH=\"/usr/include\" CPLUS_INCLUDE_PATH=\"/usr/include\" LD_LIBRARY_PATH=\"/usr/lib\" TARGET_FLAGS=\"-mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform -DMACOSX_DEPLOYMENT_TARGET=10.6\" CFLAGS=\"-mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform -DMACOSX_DEPLOYMENT_TARGET=10.6 -arch x86_64 -arch i386\" LDFLAGS=\"-mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform -DMACOSX_DEPLOYMENT_TARGET=10.6 -arch x86_64 -arch i386\" NO_GETTEXT=1 NO_DARWIN_PORTS=1 prefix=/usr/local/git clean\r\n/bin/bash: line 0: cd: build/intel-universal-snow-leopard/git-: No such file or directory\r\nmake: *** [clean] Error 1\r\n```\r\n\r\nIf I specify it manually, I get a different error:\r\n```\r\n$ VERSION=2.3.1 ./build_package_test_and_bundle.sh \r\n2.3.1\r\nsudo rm -f build/intel-universal-snow-leopard/git-2.3.1/osx-* /usr/local/git/VERSION-*\r\ncd build/intel-universal-snow-leopard/git-2.3.1 && /Applications/Xcode.app/Contents/Developer/usr/bin/make C_INCLUDE_PATH=\"/usr/include\" CPLUS_INCLUDE_PATH=\"/usr/include\" LD_LIBRARY_PATH=\"/usr/lib\" TARGET_FLAGS=\"-mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform -DMACOSX_DEPLOYMENT_TARGET=10.6\" CFLAGS=\"-mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform -DMACOSX_DEPLOYMENT_TARGET=10.6 -arch x86_64 -arch i386\" LDFLAGS=\"-mmacosx-version-min=10.6 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform -DMACOSX_DEPLOYMENT_TARGET=10.6 -arch x86_64 -arch i386\" NO_GETTEXT=1 NO_DARWIN_PORTS=1 prefix=/usr/local/git clean\r\n/bin/bash: line 0: cd: build/intel-universal-snow-leopard/git-2.3.1: No such file or directory\r\nmake: *** [clean] Error 1\r\n```"}}