diff options
author | isaacs <i@izs.me> | 2011-10-01 04:06:42 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-10-01 04:07:10 +0400 |
commit | e5f2e9b7da3a6f0b561cf34e3e17b28d35b7f6c3 (patch) | |
tree | b430a8fed17bdbba6ce9e49e0c4b79ba1a1b70b0 /scripts | |
parent | e74abdedc5c481dd585b1524589c0d9fb01dfed6 (diff) |
Remove the cacert before trying to cd into the folder
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 36711df8e..0caeb9eb5 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -166,7 +166,8 @@ echo "fetching: $url" >&2 cd "$TMP" \ && curl -SsL --cacert "$cacert" "$url" \ | $tar -xzf - \ - && cd * \ + && rm "$cacert" \ + && cd "$TMP"/* \ && (node_version=`"$node" --version 2>&1` ret=$? if [ $ret -eq 0 ]; then |