pulumi/sdk/nodejs/dist/pulumi-language-nodejs-exec

7 lines
274 B
Bash
Executable File

#!/bin/sh
# we exploit the fact that the cwd when `pulumi-language-nodejs-exec` is
# run is the root of the node program we want to run and use a relative
# path here.
export NODE_PATH="$NODE_PATH:`dirname $0`/`node --version`"
node ./node_modules/@pulumi/pulumi/cmd/run $@