summaryrefslogtreecommitdiffstats
path: root/build_tools/bin
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-02-06 21:37:58 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-02-06 21:37:58 (GMT)
commitfd89008d53def130e38be7aea091c98f085ec1fb (patch)
tree897f04763f86c2a8f6c8371b061d1ba27e2a59f8 /build_tools/bin
parentfcad97d3c517e516cf8bdd0d0855e0f827e46512 (diff)
downloadlinhes_dev-fd89008d53def130e38be7aea091c98f085ec1fb.zip
chk_arch_pkg.py: add cmd line to override dir name
Diffstat (limited to 'build_tools/bin')
-rwxr-xr-xbuild_tools/bin/chk_arch_pkg.py5
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()