From: Dan Mihai Date: Mon, 6 Mar 2017 16:37:37 +0000 (-0800) Subject: Use os.rename for renaming X-Git-Tag: 1.3.0~531 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9f73b08f2a61cb7f999589ed3506124f8faa802;p=platform%2Fupstream%2Fiotivity.git Use os.rename for renaming 'mv' is not a valid Windows system command. Change-Id: I25116d6a22e8b664c99ca251231e05af2c97aeb2 Signed-off-by: Dan Mihai Reviewed-on: https://gerrit.iotivity.org/gerrit/17703 Tested-by: jenkins-iotivity Reviewed-by: Mats Wichmann Reviewed-by: Gaganpreet Kaur Reviewed-by: Phil Coval --- diff --git a/extlibs/rapidjson/SConscript b/extlibs/rapidjson/SConscript index 5a1e708..7b8200a 100644 --- a/extlibs/rapidjson/SConscript +++ b/extlibs/rapidjson/SConscript @@ -21,4 +21,4 @@ if not os.path.exists(path): rapidjson_env = Environment(ENV = os.environ) rapidjson_zip = env.Download('v1.0.2.zip', 'https://github.com/miloyip/rapidjson/archive/v1.0.2.zip') rapidjson_dir = env.UnpackAll('rapidjson', rapidjson_zip) - os.system("mv rapidjson-1.0.2 rapidjson") + os.rename("rapidjson-1.0.2", "rapidjson")