11cb0ef41Sopenharmony_ci#!/bin/sh 21cb0ef41Sopenharmony_cibasedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 31cb0ef41Sopenharmony_ci 41cb0ef41Sopenharmony_cicase `uname` in 51cb0ef41Sopenharmony_ci *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 61cb0ef41Sopenharmony_ciesac 71cb0ef41Sopenharmony_ci 81cb0ef41Sopenharmony_ciif [ -x "$basedir/node" ]; then 91cb0ef41Sopenharmony_ci exec "$basedir/node" "$basedir/../dist/npx.js" "$@" 101cb0ef41Sopenharmony_cielse 111cb0ef41Sopenharmony_ci exec node "$basedir/../dist/npx.js" "$@" 121cb0ef41Sopenharmony_cifi 13