#!/usr/bin/env bash
-# Copyright (c) 2013-2014. The SimGrid Team.
+# Copyright (c) 2013-2022. The SimGrid Team.
# All rights reserved.
# This program is free software; you can redistribute it and/or modify it
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
fi
}
-colordiff=$(type -p colordiff || true)
+colordiff=$(type -p colordiff || true)
colorless() {
if [ -x "$colordiff" ]; then
"$colordiff" | less -R -F -X