Files
DeviceManager/node_modules/.bin/sshpk-sign

18 lines
1.0 KiB
Bash
Executable File

#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -z "$NODE_PATH" ]; then
export NODE_PATH="/home/theaninova/Projects/dotio/node_modules/sshpk/bin/node_modules:/home/theaninova/Projects/dotio/node_modules/sshpk/node_modules:/home/theaninova/Projects/dotio/node_modules:/home/theaninova/Projects/node_modules:/home/theaninova/node_modules:/home/node_modules:/node_modules:/home/theaninova/Projects/dotio/node_modules/.pnpm/node_modules"
else
export NODE_PATH="/home/theaninova/Projects/dotio/node_modules/sshpk/bin/node_modules:/home/theaninova/Projects/dotio/node_modules/sshpk/node_modules:/home/theaninova/Projects/dotio/node_modules:/home/theaninova/Projects/node_modules:/home/theaninova/node_modules:/home/node_modules:/node_modules:/home/theaninova/Projects/dotio/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../sshpk/bin/sshpk-sign" "$@"
else
exec node "$basedir/../sshpk/bin/sshpk-sign" "$@"
fi