mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2026-04-19 23:02:43 +00:00
Added more MacOS tools
This commit is contained in:
14
macos/search_rpath.sh
Normal file
14
macos/search_rpath.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Options
|
||||
RPATH_NAME=$1
|
||||
EXEC=$2
|
||||
|
||||
# Function to keep only the second arg
|
||||
get_second_arg() {
|
||||
echo $2
|
||||
}
|
||||
|
||||
# Get current rpath
|
||||
echo $(get_second_arg $(otool -l $EXEC | grep $RPATH_NAME | grep path))
|
||||
Reference in New Issue
Block a user