Skip to content

Commit bfbc6b7

Browse files
committed
Resolve the REPL executable based on script location, rather than cwd
1 parent d4e9744 commit bfbc6b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/repl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
export NODE=node
1212

1313
# Define the path to the stdlib REPL executable:
14-
export REPL_PATH=./lib/node_modules/\@stdlib/repl/bin/cli
14+
export REPL_PATH=`dirname "$0"`/../lib/node_modules/\@stdlib/repl/bin/cli
1515

1616

1717
# FUNCTIONS #

0 commit comments

Comments
 (0)