hardlink_packages: Fix arguments check.
Thanks Jessica for the review!
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
import sys, os, subprocess, re, hashlib
|
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] "
|
print("usage: hardlink_packages.py [arch] [jam RemotePackageRepository file] "
|
||||||
+ "[prebuilt packages directory] [destination root directory]")
|
+ "[prebuilt packages directory] [destination root directory]")
|
||||||
print("note that the [jam RemotePackageRepository file] will be modified.")
|
print("note that the [jam RemotePackageRepository file] will be modified.")
|
||||||
|
|||||||
Reference in New Issue
Block a user