Skip to content

Commit 7fb001e

Browse files
committed
Update test bootstrap script to use document environment vars
We haved documented SASS_SPEC_PATH and SASS_SASSC_PATH environment variables for user defined sass-spec and sassc locations respectively. The bootstrap script is currently ignoring these.
1 parent 15b45ad commit 7fb001e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

script/bootstrap

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22

33
script/branding
44

5-
if [ ! -d "sass-spec" ]; then
6-
git clone https://github.com/sass/sass-spec.git
5+
: ${SASS_SPEC_PATH:="sass-spec"}
6+
: ${SASS_SASSC_PATH:="sassc" }
7+
8+
if [ ! -d $SASS_SPEC_PATH ]; then
9+
git clone https://github.com/sass/sass-spec.git $SASS_SPEC_PATH
710
fi
8-
if [ ! -d "sassc" ]; then
9-
git clone https://github.com/sass/sassc.git
11+
if [ ! -d $SASS_SASSC_PATH ]; then
12+
git clone https://github.com/sass/sassc.git $SASS_SASSC_PATH
1013
fi

0 commit comments

Comments
 (0)