A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
tools
/
check_dist_archive
diff --git
a/tools/check_dist_archive
b/tools/check_dist_archive
index
ca1f75e
..
38fe76d
100755
(executable)
--- a/
tools/check_dist_archive
+++ b/
tools/check_dist_archive
@@
-81,7
+81,14
@@
find b -type f \
| sort > "$fb"
diffcmd() {
| sort > "$fb"
diffcmd() {
- diff -u "$fa" "$fb"
+ if cmp -s "$fa" "$fb"; then
+ status=0
+ echo "The archive looks good."
+ else
+ status=1
+ echo "Some files are missing and/or unexpected in the archive."
+ diff -u "$fa" "$fb"
+ fi
}
colordiff=$(type -p colordiff)
}
colordiff=$(type -p colordiff)
@@
-97,4
+104,6
@@
if [ "$interactive" = "1" ]; then
diffcmd | colorless
else
diffcmd
diffcmd | colorless
else
diffcmd
-fi
+fi || true
+
+exit $status