Skip to content

Commit 27c02c9

Browse files
committed
scripts should not read from env
1 parent fd69207 commit 27c02c9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

ci/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ for ver in $NODEJS_VERSIONS; do
4747
if [ $? -eq 0 ]; then
4848
cd ..
4949
source ci/$OS/bundle.sh;
50-
source ci/tarball.sh;
50+
source ci/tarball.sh $CANVAS_PREBUILT_VERSION;
5151
else
5252
echo "error building in nodejs version $ver"
5353
cd ..

ci/tarball.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Generate the node-gyp formatted filename from the node environment
2+
CANVAS_PREBUILT_VERSION=$1
23
FILENAME=$(
34
node -e "
45
var p = process, v = p.versions, pkg = require('./package.json'), libc = require('detect-libc').family || 'unknown';

0 commit comments

Comments
 (0)