Fixed the rapidjson upgrade instructions.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/454dd905 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/454dd905 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/454dd905 Branch: refs/heads/master Commit: 454dd9056cf9aa3cfa382ed4c8b448b0ea27c482 Parents: 9cfb596 Author: Benjamin Mahler <[email protected]> Authored: Thu Jul 26 12:43:08 2018 -0700 Committer: Benjamin Mahler <[email protected]> Committed: Thu Jul 26 12:43:14 2018 -0700 ---------------------------------------------------------------------- 3rdparty/rapidjson.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/454dd905/3rdparty/rapidjson.md ---------------------------------------------------------------------- diff --git a/3rdparty/rapidjson.md b/3rdparty/rapidjson.md index ddf306c..cb4ad0c 100644 --- a/3rdparty/rapidjson.md +++ b/3rdparty/rapidjson.md @@ -22,11 +22,12 @@ $ curl --location https://github.com/Tencent/rapidjson/archive/v1.1.0.tar.gz -o # Extract, strip everything but the license and include # folder, and re-bundle. -$ tar -zxvf rapidjson-1.1.0.tar.gz -$ mkdir -p stripped-rapidjson/rapidjson-1.1.0 -$ mv rapidjson-1.1.0/license.txt stripped-rapidjson/rapidjson-1.1.0 -$ mv rapidjson-1.1.0/include stripped-rapidjson/rapidjson-1.1.0 -$ tar -zcvf rapidjson-1.1.0.tar.gz stripped-rapidjson/rapidjson-1.1.0 +$ mkdir tmp +$ tar -zxvf rapidjson-1.1.0.tar.gz --directory=tmp +$ mkdir rapidjson-1.1.0 +$ mv tmp/rapidjson-1.1.0/license.txt rapidjson-1.1.0 +$ mv tmp/rapidjson-1.1.0/include rapidjson-1.1.0 +$ tar -zcvf rapidjson-1.1.0.tar.gz rapidjson-1.1.0 # Place it into 3rdparty. # Update 3rdparty/versions.am with the new version.
