Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clobber in Makefile

  • Loading branch information...
commit 364dfc628c1625f5c3be4c515beec2cb15952146 1 parent dd478c0
isaacs isaacs authored
Showing with 4 additions and 3 deletions.
  1. +3 −3 Makefile
  2. +1 −0  scripts/install.sh
6 Makefile
View
@@ -20,19 +20,19 @@ latest: submodules
node cli.js install
install: submodules
- node cli.js install -g
+ node cli.js install -g -f
# backwards compat
dev: install
link: uninstall
- node cli.js link
+ node cli.js link -f
clean: uninstall
uninstall: submodules
node cli.js cache clean
- node cli.js rm npm -g
+ node cli.js rm npm -g -f
man: man1
1  scripts/install.sh
View
@@ -56,6 +56,7 @@ fi
url=`curl -s http://registry.npmjs.org/npm/$t \
| $egrep -o 'tarball":"[^"]+' \
+ | head -n 1 \
| $egrep -o 'http://.*'`
echo "fetching: $url" >&2
Please sign in to comment.
Something went wrong with that request. Please try again.