mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-28 11:06:08 +00:00
add the tarball stripping script
This commit is contained in:
parent
9e89193903
commit
07d9fe983d
1 changed files with 7 additions and 0 deletions
7
nodejs-tarball.sh
Executable file
7
nodejs-tarball.sh
Executable file
|
@ -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}
|
Loading…
Reference in a new issue