mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
9855babea4
commit
b5f4aa1b4c
2 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
# FIXME a patch to npm here then upstream would be preferable
|
||||
mkdir -p ~/.local/lib
|
||||
|
||||
d="$(cd "$(dirname $0)" && pwd)"
|
||||
"$d"/npm exec "$@"
|
||||
d="$(cd "$(dirname $0)"/.. && pwd)"
|
||||
exec "$d"/lib/node_modules/npm/bin/npx-cli.js "$@"
|
||||
|
||||
# ※ https://github.com/teaxyz/cli/issues/532
|
||||
|
|
|
@ -43,6 +43,7 @@ build:
|
|||
- run: |
|
||||
rm npx
|
||||
mv $SRCROOT/props/npx-shim npx
|
||||
|
||||
working-directory:
|
||||
${{prefix}}/bin
|
||||
|
||||
|
|
Loading…
Reference in a new issue