PIbd-22_Kaznacheeva.E.K_Int.../lab2/node_modules/.bin/nanoid

13 lines
310 B
Plaintext
Raw Permalink Normal View History

2023-11-24 14:53:57 +04:00
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../nanoid/bin/nanoid.cjs" "$@"
else
exec node "$basedir/../nanoid/bin/nanoid.cjs" "$@"
fi