diff options
author | isaacs <i@izs.me> | 2010-07-05 22:04:28 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-07-25 05:51:18 +0400 |
commit | 9e9e4b3aaef55c275ec12c697064e074c9855104 (patch) | |
tree | b9ee3e3106c58e990d7f6f991907128b124272c5 /scripts | |
parent | 5446a2acd18f9209b2a77249fc9d9103f8223cbf (diff) |
Make install script executable, and also report success or die on failure
Diffstat (limited to 'scripts')
-rwxr-xr-x[-rw-r--r--] | scripts/install.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 486e2a989..f07517904 100644..100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,6 +1,9 @@ #!/bin/sh -mkdir npm -cd npm -curl -L http://github.com/isaacs/npm/tarball/master | tar xz --strip 1 -make +mkdir npm \ + && cd npm \ + && curl -L http://github.com/isaacs/npm/tarball/master | tar xz --strip 1 \ + && make \ + && cd .. \ + && rm -rf npm \ + && echo "It worked" |