Skip to content

Commit e0d0641

Browse files
author
Stepan Oksanichenko
committed
CMT-18: [End Server tools] Build node exporter from sources in cloudlinux
- Add *.spec file
1 parent 363d7b2 commit e0d0641

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

node_exporter.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ This package provides Node Exporter tool
2525
%build
2626
# download new version of Go compiler
2727
%ifarch x86_64 amd64 ia32e
28-
wget https://dl.google.com/go/go1.14.4.linux-amd64.tar.gz -O %{_tmppath}/go.tar.gz
28+
curl https://dl.google.com/go/go1.14.4.linux-amd64.tar.gz --output %{_tmppath}/go.tar.gz
2929
%else
30-
wget https://dl.google.com/go/go1.14.4.linux-386.tar.gz -O %{_tmppath}/go.tar.gz
30+
curl https://dl.google.com/go/go1.14.4.linux-386.tar.gz --output %{_tmppath}/go.tar.gz
3131
%endif
3232
tar xzf %{_tmppath}/go.tar.gz -C %{_tmppath}
3333
export PATH=$PATH:%{_tmppath}/go/bin

0 commit comments

Comments
 (0)