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
added platform for ns3 wifi example
[simgrid.git]
/
tools
/
internal
/
check_dist_archive
diff --git
a/tools/internal/check_dist_archive
b/tools/internal/check_dist_archive
index 89f1f92af0fe4db8162ac1dce589329a927d11a7..34da5e442d55f83e687db1896117d4266626e055 100755
(executable)
--- a/
tools/internal/check_dist_archive
+++ b/
tools/internal/check_dist_archive
@@
-1,6
+1,6
@@
-#!/
bin/
bash
+#!/
usr/bin/env
bash
-# Copyright (c) 2013-20
14
. The SimGrid Team.
+# Copyright (c) 2013-20
20
. The SimGrid Team.
# All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# All rights reserved.
# This program is free software; you can redistribute it and/or modify it
@@
-17,7
+17,7
@@
else
interactive=0
fi
interactive=0
fi
-if [ $# -lt 1
-o
$# -gt 3 ]; then
+if [ $# -lt 1
] || [
$# -gt 3 ]; then
cat >&2 <<EOF
Usage: $0 [-batch] archive.tar.gz [git_url [git_reference]]
EOF
cat >&2 <<EOF
Usage: $0 [-batch] archive.tar.gz [git_url [git_reference]]
EOF
@@
-103,7
+103,7
@@
EOF
fi
}
fi
}
-colordiff=$(type -p colordiff || true)
+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