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
Write error messages on stderr.
[simgrid.git]
/
tools
/
check_dist_archive
diff --git
a/tools/check_dist_archive
b/tools/check_dist_archive
index
d282149
..
c3c5ae5
100755
(executable)
--- a/
tools/check_dist_archive
+++ b/
tools/check_dist_archive
@@
-12,7
+12,7
@@
else
fi
if [ $# -lt 1 -o $# -gt 3 ]; then
fi
if [ $# -lt 1 -o $# -gt 3 ]; then
- cat <<EOF
+ cat
>&2
<<EOF
Usage: $0 [-batch] archive.tar.gz [git_url [git_reference]]
EOF
exit 1
Usage: $0 [-batch] archive.tar.gz [git_url [git_reference]]
EOF
exit 1
@@
-20,7
+20,7
@@
fi
archive=$1
if [ ! -r "$archive" ]; then
archive=$1
if [ ! -r "$archive" ]; then
- printf 'File not found: %s\n' "$archive"
+ printf 'File not found: %s\n' "$archive"
>&2
exit 1
fi
exit 1
fi
@@
-49,7
+49,7
@@
case "$myname" in
esac
if [ ! -r "$exclude" ]; then
esac
if [ ! -r "$exclude" ]; then
- printf 'File not found: %s\n' "$exclude"
+ printf 'File not found: %s\n' "$exclude"
>&2
exit 1
fi
exit 1
fi
@@
-97,7
+97,7
@@
EOF
fi
}
fi
}
-colordiff=$(type -p colordiff
)
+colordiff=$(type -p colordiff
|| true)
colorless() {
if [ -x "$colordiff" ]; then
"$colordiff" | less -R -F -X
colorless() {
if [ -x "$colordiff" ]; then
"$colordiff" | less -R -F -X