We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 714191a commit 98f57baCopy full SHA for 98f57ba
.travis/build.sh
@@ -322,7 +322,7 @@ else
322
# Do a sparse, shallow checkout to keep disk space usage down.
323
mkdir -p $PREBUILT_DIR
324
cd $PREBUILT_DIR
325
- git init
+ git init > /dev/null
326
git config core.sparseCheckout true
327
git remote add origin https://$GH_TOKEN@github.com/$PREBUILT_REPO_OWNER/${PREBUILT_REPO}.git
328
cat > .git/info/sparse-checkout <<EOF
@@ -334,7 +334,8 @@ EOF
334
git fetch --depth 1 origin master
335
git checkout master
336
echo ""
337
- echo "Prebuilt repo checkout is using $(du -h -s $PREBUILD_DIR)"
+ PREBUILT_DIR_DU=$(du -h -s . | sed -e's/[ \t]*\.$//')
338
+ echo "Prebuilt repo checkout is using $PREBUILT_DIR_DU"
339
)
340
echo "============================================="
341
fi
0 commit comments