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"