Skip to content

Commit 16aaf4d

Browse files
committed
dev_env.sh: print warning if files set up by sudo in ./dependencies
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 176226b commit 16aaf4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev_env.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# user settings go in ./env.sh
55
function __setpaths() {
66
local DIR=$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")
7+
[ "$(find $DIR/dependencies -type f -user root)" ] && echo "WARNING! Files set up by sudo found in $DIR"
78
export PATH="$DIR/dependencies/bin:$PATH"
89
export CMAKE_INSTALL_RPATH=$DIR/dependencies/lib:$DIR/dependencies/lib64
910

0 commit comments

Comments
 (0)