]> git.baikalelectronics.ru Git - kernel.git/commit
rtla: Don't overwrite existing directory mode
authorJohn Kacur <jkacur@redhat.com>
Fri, 29 Apr 2022 16:28:11 +0000 (18:28 +0200)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 26 May 2022 19:18:28 +0000 (15:18 -0400)
commit9c001e4d567137f854a1b266f859f3fb089cc674
tree0c1532ed357b9deaff88f6fdf1201f17a31b6c59
parentece5d139fc4dca336e96cc801314a48fb6d6abd6
rtla: Don't overwrite existing directory mode

The mode on /usr/bin is often 555 these days,
but make install on rtla overwrites this with 755

Fix this by preserving the current directory if it exists.

Link: https://lkml.kernel.org/r/8c294a6961080a1970fd8b73f7bcf1e3984579e2.1651247710.git.bristot@kernel.org
Link: https://lore.kernel.org/r/20220402043939.6962-1-jkacur@redhat.com
Cc: Daniel Bristot de Oliveria <bristot@redhat.com>
Fixes: 80ba6415f651 ("rtla: Real-Time Linux Analysis tool")
Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/tracing/rtla/Makefile