File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1313# Echo all of our steps if DEBUG_STEPS is set
1414test -n " $DEBUG_STEPS " && set -x
1515
16+ set -e # early exit if any step fails
17+
1618# VERSION=0.28.3.gfm.20 ### not yet
1719VERSION=0.28.3.gfm.12
1820if [ " $1 " != " " ]; then VERSION=" $1 " ; fi
@@ -29,10 +31,10 @@ EXTRACTED_AS="cmark-gfm-$VERSION"
2931
3032# Follow redirects, and place the result into known name $LOCAL
3133if [ -f " $LOCAL " ]; then
32- echo " Using cached tarball: ${LOCAL} "
34+ echo " Using cached tarball: ${LOCAL} " >&2
3335else
34- echo " Fetching from cmark archives"
35- curl -sSL -o " $LOCAL " " $ARCHIVES /$VERSION .tar.gz" || exit 1
36+ echo " Fetching $VERSION from cmark archives" >&2
37+ curl -sSL --fail - o " $LOCAL " " $ARCHIVES /$VERSION .tar.gz"
3638fi
3739
3840# Clean anything old, then extract and build.
You can’t perform that action at this time.
0 commit comments