22 lines
1.3 KiB
Text
22 lines
1.3 KiB
Text
|
|
#!/bin/sh
|
||
|
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||
|
|
|
||
|
|
case `uname` in
|
||
|
|
*CYGWIN*|*MINGW*|*MSYS*)
|
||
|
|
if command -v cygpath > /dev/null 2>&1; then
|
||
|
|
basedir=`cygpath -w "$basedir"`
|
||
|
|
fi
|
||
|
|
;;
|
||
|
|
esac
|
||
|
|
|
||
|
|
if [ -z "$NODE_PATH" ]; then
|
||
|
|
export NODE_PATH="/home/amir/code/blinksgg/gg-antifragile/node_modules/.pnpm/esbuild@0.27.2/node_modules/esbuild/bin/node_modules:/home/amir/code/blinksgg/gg-antifragile/node_modules/.pnpm/esbuild@0.27.2/node_modules/esbuild/node_modules:/home/amir/code/blinksgg/gg-antifragile/node_modules/.pnpm/esbuild@0.27.2/node_modules:/home/amir/code/blinksgg/gg-antifragile/node_modules/.pnpm/node_modules"
|
||
|
|
else
|
||
|
|
export NODE_PATH="/home/amir/code/blinksgg/gg-antifragile/node_modules/.pnpm/esbuild@0.27.2/node_modules/esbuild/bin/node_modules:/home/amir/code/blinksgg/gg-antifragile/node_modules/.pnpm/esbuild@0.27.2/node_modules/esbuild/node_modules:/home/amir/code/blinksgg/gg-antifragile/node_modules/.pnpm/esbuild@0.27.2/node_modules:/home/amir/code/blinksgg/gg-antifragile/node_modules/.pnpm/node_modules:$NODE_PATH"
|
||
|
|
fi
|
||
|
|
if [ -x "$basedir/node" ]; then
|
||
|
|
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/esbuild@0.27.2/node_modules/esbuild/bin/esbuild" "$@"
|
||
|
|
else
|
||
|
|
exec node "$basedir/../../../../node_modules/.pnpm/esbuild@0.27.2/node_modules/esbuild/bin/esbuild" "$@"
|
||
|
|
fi
|