#!/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/jenkins/workspace/platform-builds/identity-apps_1.6.x/target/checkout/node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/bin/node_modules:/home/jenkins/workspace/platform-builds/identity-apps_1.6.x/target/checkout/node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/node_modules:/home/jenkins/workspace/platform-builds/identity-apps_1.6.x/target/checkout/node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/node_modules:/home/jenkins/workspace/platform-builds/identity-apps_1.6.x/target/checkout/node_modules/.pnpm/uuid@8.3.2/node_modules:/home/jenkins/workspace/platform-builds/identity-apps_1.6.x/target/checkout/node_modules/.pnpm/node_modules"
else
  export NODE_PATH="/home/jenkins/workspace/platform-builds/identity-apps_1.6.x/target/checkout/node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/bin/node_modules:/home/jenkins/workspace/platform-builds/identity-apps_1.6.x/target/checkout/node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/node_modules:/home/jenkins/workspace/platform-builds/identity-apps_1.6.x/target/checkout/node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/node_modules:/home/jenkins/workspace/platform-builds/identity-apps_1.6.x/target/checkout/node_modules/.pnpm/uuid@8.3.2/node_modules:/home/jenkins/workspace/platform-builds/identity-apps_1.6.x/target/checkout/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
  exec "$basedir/node"  "$basedir/../../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/bin/uuid" "$@"
else
  exec node  "$basedir/../../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/bin/uuid" "$@"
fi
