From f7072b7d5a80ce2c41b4190ca75ea3beb6cc2756 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Wed, 15 May 2019 13:19:34 -0400 Subject: [PATCH] hardlink_packages: Fix arguments check. Thanks Jessica for the review! --- src/tools/hardlink_packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/hardlink_packages.py b/src/tools/hardlink_packages.py index 240e48321f..3245b0ae24 100755 --- a/src/tools/hardlink_packages.py +++ b/src/tools/hardlink_packages.py @@ -9,7 +9,7 @@ import sys, os, subprocess, re, hashlib -if len(sys.argv) > 5: +if len(sys.argv) != 5: print("usage: hardlink_packages.py [arch] [jam RemotePackageRepository file] " + "[prebuilt packages directory] [destination root directory]") print("note that the [jam RemotePackageRepository file] will be modified.")