[Buildroot] [git commit] pkg-download: fix arguments to hash checking script

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Dec 7 21:08:03 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=dab47af5d9504b325d791bbda48fa9249a139f90
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The argument are correctly used, but incorrectly documented.
Inverse the comments to match the actual usage.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 support/download/check-hash |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/support/download/check-hash b/support/download/check-hash
index 067e7a2..13e361a 100755
--- a/support/download/check-hash
+++ b/support/download/check-hash
@@ -3,8 +3,8 @@ set -e
 
 # Helper to check a file matches its known hash
 # Call it with:
-#   $1: the full path to the file to check
-#   $2: the path of the file containing all the the expected hashes
+#   $1: the path of the file containing all the the expected hashes
+#   $2: the full path to the file to check
 
 h_file="${1}"
 file="${2}"


More information about the buildroot mailing list