Skip to content

Commit 4657f41

Browse files
committed
Fix build failure due to directory missing
1 parent 68239c5 commit 4657f41

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

node_exporter.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ rm -rf $RPM_BUILD_ROOT
6565
install -D -m 755 node_exporter $RPM_BUILD_ROOT%{_clshare_plus}/node_exporter
6666

6767
#install tests
68+
mkdir -p $RPM_BUILD_ROOT/opt/node_exporter_tests/
6869
cp -r collector $RPM_BUILD_ROOT/opt/node_exporter_tests/
6970
install -D -m 755 end-to-end-test.sh $RPM_BUILD_ROOT/opt/node_exporter_tests/end-to-end-test.sh
7071
install -D -m 755 node_exporter $RPM_BUILD_ROOT/opt/node_exporter_tests/node_exporter

0 commit comments

Comments
 (0)