pulumi/sdk/nodejs/pulumi-langhost-nodejs-exec
Matt Ellis 4b2441ac22 Use relative path in langhost launcher
We no longer have a node_modules folder in the SDK (since all
packages now come from NPM) so we need to adjust the shell script we
use to launch our runner to use a relative path.
2018-02-14 17:55:48 -08:00

7 lines
238 B
Bash
Executable file

#!/bin/sh
# we exploit the fact that the cwd when `pulumi-langhost-nodejs-exec` is
# run is the root of the node program we want to run and use a relative
# path here.
pulumi-langhost-nodejs-node ./node_modules/@pulumi/pulumi/cmd/run $@