Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy Frew
Sympl
Commits
2e3cb8bc
Commit
2e3cb8bc
authored
Jul 09, 2013
by
Patrick J Cherry
Browse files
Updated Rakefile to use digest/md5 not just md5.
parent
be1e168f
Changes
1
Show whitespace changes
Inline
Side-by-side
Rakefile
View file @
2e3cb8bc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
require
'fileutils'
require
'fileutils'
require
'rake/clean'
require
'rake/clean'
require
'md5'
require
'
digest/
md5'
require
'pp'
require
'pp'
DEBEMAIL
=
ENV
[
"DEBEMAIL"
]
||
"symbiosis@bytemark.co.uk"
DEBEMAIL
=
ENV
[
"DEBEMAIL"
]
||
"symbiosis@bytemark.co.uk"
...
@@ -120,7 +120,7 @@ EOF
...
@@ -120,7 +120,7 @@ EOF
# Add the md5sums for each prereq.
# Add the md5sums for each prereq.
#
#
t
.
prerequisites
.
each
do
|
prereq
|
t
.
prerequisites
.
each
do
|
prereq
|
release
<<
" "
+
[
MD5
.
hexdigest
(
File
.
read
(
prereq
)),
release
<<
" "
+
[
Digest
::
MD5
.
hexdigest
(
File
.
read
(
prereq
)),
File
.
stat
(
prereq
).
size
,
File
.
stat
(
prereq
).
size
,
prereq
].
join
(
" "
)
+
"
\n
"
prereq
].
join
(
" "
)
+
"
\n
"
end
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment