mirror of
https://github.com/pnpm/pnpm.git
synced 2026-06-27 01:15:27 -04:00
gyp's make generator execs gyp/gyp_main.py and gyp/gyp directly through their shebangs when it regenerates the Makefile during a from-source native build. They were missing from publishConfig.executableFiles, so they got packed at 0644 and the build failed with "Permission denied" (make error 126). pnpm/pnpm#11485 fixed the node-gyp bin shims but not these two. Add them to PUBLISH_EXECUTABLE_FILES so the pnpm and `@pnpm/exe` tarballs pack them at 0755. Closes pnpm/pnpm#12455