projects
/
sdk
/
tools
/
sdk-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eebd60
)
[Title] Fixed a bug that sha256sum does not exist on windows
author
donghee
<donghee.yang@samsung.com>
Sat, 22 Sep 2012 01:49:59 +0000
(10:49 +0900)
committer
donghee
<donghee.yang@samsung.com>
Sat, 22 Sep 2012 01:49:59 +0000
(10:49 +0900)
src/common/utils.rb
patch
|
blob
|
history
diff --git
a/src/common/utils.rb
b/src/common/utils.rb
index ae5ec28bd94d4254b032fc8944e34f97b179af56..8c35fa920a98ca6eed60eaa02a3da197b77c2a4f 100644
(file)
--- a/
src/common/utils.rb
+++ b/
src/common/utils.rb
@@
-517,7
+517,7
@@
class Utils
def Utils.checksum(file_path)
if File.exist? file_path then
- return
`sha256sum #{file_path}`
.split(" ")[0]
+ return
Utils.execute_shell_return("shasum -a 256 \"#{file_path}\"")[0]
.split(" ")[0]
else
return nil
end