diff options
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/bin/chk_arch_pkg.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build_tools/bin/chk_arch_pkg.py b/build_tools/bin/chk_arch_pkg.py index 5d428db..b939f4f 100755 --- a/build_tools/bin/chk_arch_pkg.py +++ b/build_tools/bin/chk_arch_pkg.py @@ -172,6 +172,11 @@ def main(): if "--yes_all" in sys.argv or "-y" in sys.argv: yes_all = True + # use command line for currDirName + if len(sys.argv) > 1: + if not sys.argv[len(sys.argv) - 1].startswith('-'): + currDirName = sys.argv[len(sys.argv) - 1] + print "Searching for " + currDirName + " on archlinux.org..." archVer = getArchVer() getLHVer() |