source: node_modules/.bin/nanoid

Last change on this file was 57e58a3, checked in by ste08 <sjovanoska@…>, 4 months ago

Initial commit

  • Property mode set to 100644
File size: 391 bytes
Line 
1#!/bin/sh
2basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
4case `uname` in
5 *CYGWIN*|*MINGW*|*MSYS*)
6 if command -v cygpath > /dev/null 2>&1; then
7 basedir=`cygpath -w "$basedir"`
8 fi
9 ;;
10esac
11
12if [ -x "$basedir/node" ]; then
13 exec "$basedir/node" "$basedir/../nanoid/bin/nanoid.cjs" "$@"
14else
15 exec node "$basedir/../nanoid/bin/nanoid.cjs" "$@"
16fi
Note: See TracBrowser for help on using the repository browser.