diff options
author | isaacs <i@izs.me> | 2011-10-12 21:10:13 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-10-12 21:10:13 +0400 |
commit | d753758a8d1d1525b8cb879c8de4674abb8d6975 (patch) | |
tree | 51b00c30056c9c3568e58d2742508d6f4c493eff /scripts | |
parent | 24764227e76e404e4695948da84e3f2a47633e83 (diff) |
Some seds are simpletons
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 1ff82e92f..074a01e9f 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -153,7 +153,8 @@ cacert="$TMP/cafile.crt" # need to echo "" after, because Posix sed doesn't treat EOF # as an implied end of line. url=`(curl -SsL --cacert "$cacert" https://registry.npmjs.org/npm/$t; echo "") \ - | sed -e 's/^.*tarball":"//' -e 's/".*$//'` + | sed -e 's/^.*tarball":"//' \ + | sed -e 's/".*$//'` ret=$? if [ $ret -ne 0 ]; then |