From 07d9fe983d958945296ea612d64746bfd635013d Mon Sep 17 00:00:00 2001 From: "T.C. Hollingsworth" Date: Tue, 28 May 2013 20:23:27 -0700 Subject: [PATCH] add the tarball stripping script --- nodejs-tarball.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 nodejs-tarball.sh diff --git a/nodejs-tarball.sh b/nodejs-tarball.sh new file mode 100755 index 0000000..e8d3cdf --- /dev/null +++ b/nodejs-tarball.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +version=$(rpm -q --specfile --qf='%{version}\n' nodejs.spec | head -n1) +#wget http://nodejs.org/dist/v${version}/node-v${version}.tar.gz +tar -zxf node-v${version}.tar.gz +rm -rf node-v${version}/deps/openssl +tar -zcf node-v${version}-stripped.tar.gz node-v${version}