File tree 1 file changed +3
-3
lines changed
packages/playground/scripts
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
# The target folder on KeyCDN will be the compiler.js' version number.
5
5
# This script requires `curl` / `openssl` to be installed.
6
6
7
- SCRIPT_PATH=${BASH_SOURCE[0]}
8
- SCRIPT_DIR=$( dirname " $( dirname " $current_script_path " ) " )
7
+ SCRIPT_PATH=" ${BASH_SOURCE[0]} "
8
+ SCRIPT_DIR=" $( dirname " $( dirname " $SCRIPT_PATH " ) " ) "
9
9
10
10
# Get the actual version from the compiled playground bundle
11
- VERSION=$( cd $SCRIPT_DIR ; node -e ' require(". /compiler.js"); console.log( rescript_compiler.make().rescript.version)' )
11
+ VERSION=" $( node -e " console.log(require(' $SCRIPT_DIR /compiler.js'). rescript_compiler.make().rescript.version)" ) "
12
12
13
13
if [ -z " ${KEYCDN_USER} " ]; then
14
14
echo " KEYCDN_USER environment variable not set. Make sure to set the environment accordingly."
You can’t perform that action at this time.
0 commit comments