|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/sh |
|
|
|
#!/bin/sh |
|
|
|
|
|
|
|
|
|
|
|
version=$(rpm -q --specfile --qf='%{version}\n' nodejs.spec | head -n1) |
|
|
|
version=$(rpm -q --specfile --qf='%{version}\n' SPECS/nodejs.spec | head -n1) |
|
|
|
wget http://nodejs.org/dist/v${version}/node-v${version}.tar.gz |
|
|
|
wget http://nodejs.org/dist/v${version}/node-v${version}.tar.gz |
|
|
|
tar -zxf node-v${version}.tar.gz |
|
|
|
tar -zxf node-v${version}.tar.gz |
|
|
|
rm -rf node-v${version}/deps/openssl |
|
|
|
rm -rf node-v${version}/deps/openssl |
|
|
|