Server IP : 66.29.132.122 / Your IP : 18.217.209.164 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/alt/alt-nodejs10/root/lib/node_modules/npm/scripts/ |
Upload File : |
#!/usr/bin/env bash # Change the cli shebang to point at the specified node # Useful for when the program is moved around after install. # Also used by the default 'make install' in node to point # npm at the newly installed node, rather than the first one # in the PATH, which would be the default otherwise. # bash /path/to/npm/scripts/relocate.sh $nodepath # If $nodepath is blank, then it'll use /usr/bin/env dir="$(dirname "$(dirname "$0")")" cli="$dir"/bin/npm-cli.js tmp="$cli".tmp node="$1" if [ "x$node" = "x" ]; then node="/usr/bin/env node" fi node="#!$node" sed -e 1d "$cli" > "$tmp" echo "$node" > "$cli" cat "$tmp" >> "$cli" rm "$tmp" chmod ogu+x $cli