X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/46bf85abbe096a557a905808921b2f585ef16f5b..94301a3fdb8be507e1c9fa0c1f7a21ab836cb2e1:/tools/internal/check_dist_archive diff --git a/tools/internal/check_dist_archive b/tools/internal/check_dist_archive index 963a4a3495..03530bde98 100755 --- 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-2014. The SimGrid Team. +# Copyright (c) 2013-2019. The SimGrid Team. # All rights reserved. # This program is free software; you can redistribute it and/or modify it @@ -96,14 +96,14 @@ diffcmd() { ERROR: Some files are missing and/or unexpected in the archive. * lines beginning with '-' give files that are unexpected in the archive * lines beginning with '+' give files that are missing from the archive -Please fix CMake files (e.g. "buildtools/Cmake/DefinePackages.cmake"), -and/or "tools/check_dist_archive.exclude". +Please fix CMake files (e.g. "tools/cmake/DefinePackages.cmake"), +and/or "tools/internal/check_dist_archive.exclude". EOF diff -u "$fa" "$fb" fi } -colordiff=$(type -p colordiff || true) +colordiff=$(type -p colordiff || true) colorless() { if [ -x "$colordiff" ]; then "$colordiff" | less -R -F -X