404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.144.20.151: ~ $
#!/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

Filemanager

Name Type Size Permission Actions
changelog.js File 3 KB 0644
clean-old.sh File 4.17 KB 0755
dep-update File 294 B 0755
dev-dep-update File 292 B 0755
docs-build.js File 825 B 0644
gen-changelog File 420 B 0755
gen-dev-ignores.js File 350 B 0644
install.sh File 5.47 KB 0755
maketest File 1.8 KB 0755
pr File 3.96 KB 0755
publish-tag.js File 151 B 0644
release.sh File 889 B 0644
relocate.sh File 673 B 0755
update-authors.sh File 197 B 0755
update-dist-tags.js File 3.46 KB 0644