Skip to content

Commit 4f2797d

Browse files
authored
Merge pull request #361 from opcm/rdementi-fix-install-path-for-pcm-bw-histogram
fix installation path for pcm-bw-histogram.sh
2 parents 8c6e87c + 3e8c502 commit 4f2797d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pcm.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ rm -rf $RPM_BUILD_ROOT
7373
* Wed Apr 01 2020 - [email protected]
7474
Add pcm-sensor-server under %files
7575
* Mon Nov 25 2019 - [email protected]
76-
call make install and use %{_sbindir} or %{_bindir}
76+
call make install and use _sbindir or _bindir
7777
* Mon Oct 21 2019 - [email protected]
7878
add opCode file to /usr/share/pcm
7979
use "install" to copy pcm-bw-histogram.sh

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ if(UNIX) # APPLE, LINUX, FREE_BSD
145145

146146
# Install extra files
147147
install(FILES pcm-bw-histogram.sh
148-
DESTINATION "sbin/pcm-bw-histogram"
148+
DESTINATION "sbin"
149149
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ)
150150
file(GLOB OPCODE_FILES "opCode*.txt")
151151
foreach(opcode_file ${OPCODE_FILES})

0 commit comments

Comments
 (0)