wavelength_server/websocket_server/node_modules/.bin/ps-tree

18 lines
1.4 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/gib/Documents/Web/wavelength/websocket-server/node_modules/ps-tree/bin/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules/ps-tree/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules:/home/gib/Documents/Web/wavelength/node_modules:/home/gib/Documents/Web/node_modules:/home/gib/Documents/node_modules:/home/gib/node_modules:/home/node_modules:/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules/.pnpm/node_modules"
else
export NODE_PATH="/home/gib/Documents/Web/wavelength/websocket-server/node_modules/ps-tree/bin/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules/ps-tree/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules:/home/gib/Documents/Web/wavelength/node_modules:/home/gib/Documents/Web/node_modules:/home/gib/Documents/node_modules:/home/gib/node_modules:/home/node_modules:/node_modules:/home/gib/Documents/Web/wavelength/websocket-server/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../ps-tree/bin/ps-tree.js" "$@"
else
exec node "$basedir/../ps-tree/bin/ps-tree.js" "$@"
fi