Merge "Revert "Upgrade rapidjson dep for opflex from 1.0.2 to 1.1.0""
[releng/builder.git] / jjb / opflex / scripts / rapidjson-build.sh
index c44532799f1a10e63714a860f67dd52d5b3cb9e8..f40f199e6912e823b924e937da6e1550ccc61e90 100644 (file)
@@ -24,11 +24,11 @@ mkdir -p "$DESTDIR/$ROOT/include"
 cp -R include/rapidjson "$DESTDIR/$ROOT/include"
 sed -e "s|@INCLUDE_INSTALL_DIR@|$ROOT/include|" \
     -e "s|@PROJECT_NAME@|RapidJSON|" \
-    -e "s|@LIB_VERSION_STRING@|1.1.0|" RapidJSON.pc.in > \
+    -e "s|@LIB_VERSION_STRING@|1.0.2|" RapidJSON.pc.in > \
     "$DESTDIR/$ROOT/lib/pkgconfig/RapidJSON.pc"
 
 pushd $DESTDIR
-tar -cvzf -- "rapidjson-$RAPIDJSON_VERSION.tar.gz" *
+tar cvzf "rapidjson-$RAPIDJSON_VERSION.tar.gz" -- *
 # Move tarball to dir of files that will be uploaded to Nexus
 UPLOAD_FILES_PATH="$WORKSPACE/upload_files"
 mkdir -p "$UPLOAD_FILES_PATH"