From e44fcb667e1eccb73a84c7a0623ad7a8636ccf9d Mon Sep 17 00:00:00 2001 From: Mei-Hui Su Date: Wed, 13 Dec 2023 15:08:03 -0800 Subject: [PATCH] wip --- utilities/run_ssh_generate.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 utilities/run_ssh_generate.sh diff --git a/utilities/run_ssh_generate.sh b/utilities/run_ssh_generate.sh new file mode 100755 index 0000000..dbfcea3 --- /dev/null +++ b/utilities/run_ssh_generate.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +## this is to run the ssh_generate 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}/../bin/ssh_generate "$@" + +exit 0