Skip to content

Commit

Permalink
add support for macos in SIP mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Mei-Hui Su authored and Mei-Hui Su committed Dec 13, 2023
1 parent 69a058e commit 00f2557
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/run_ssh_generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ if [ "$UCVM_INSTALL_PATH" ] ; then
fi

source ${SCRIPT_DIR}/../conf/ucvm_env.sh
${SCRIPT_DIR}/../bin/ssh_generate "$@"
${SCRIPT_DIR}/ssh_generate $@

exit 0
23 changes: 23 additions & 0 deletions utilities/run_vs30_query.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

## this is to run the vs30_query with proper LD_LIBRARY_PATH and
## DYLD_LIBRARY_PATH that mac os seems to like to eliminate under
## SIP mode

# Process options
FLAGS=""
CONF=""

# Pass along all arguments
### location

if [ "$UCVM_INSTALL_PATH" ] ; then
SCRIPT_DIR="$UCVM_INSTALL_PATH"/bin
else
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
fi

source ${SCRIPT_DIR}/../conf/ucvm_env.sh
${SCRIPT_DIR}/vs30_query $@

exit 0

0 comments on commit 00f2557

Please sign in to comment.