Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
abuild
Commits
828d8a7e
Commit
828d8a7e
authored
Apr 01, 2011
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: always fail when checksums does not match
parent
701be922
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
abuild.in
abuild.in
+1
-1
No files found.
abuild.in
View file @
828d8a7e
...
...
@@ -177,13 +177,13 @@ md5check() {
origin
=
$1
;
shift
echo
"
$src
"
|
md5sum
-c
if
[
$?
-ne
0
]
;
then
endreturnval
=
1
is_remote
$origin
||
continue
echo
"Because the remote file above failed the md5sum check it will be deleted."
echo
"Rebuilding will cause it to re-download which in some cases may fix the problem."
file
=
`
echo
"
$src
"
|
sed
's/.*[ \t\n]\(.*\)/\1/'
`
echo
"Deleting:
$file
"
rm
$file
endreturnval
=
1
fi
done
unset
IFS
...
...
Write
Preview
Markdown
is supported
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