diff options
author | Simon Schampijer <simon@schampijer.de> | 2011-08-25 13:59:33 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2011-08-25 13:59:33 (GMT) |
commit | 1942d7e615bb0f9d5bef0eb818a030a7148f5fd6 (patch) | |
tree | 733dc96f62c68871ca64a814db9a48c1504ae972 | |
parent | 0764f24dea564006661b351343b8ec7fd8db22f1 (diff) |
This commit breaks OLPC builds, OLPC #11178
Revert "sugar-install-bundle to accept multiple files"
This reverts commit ada284445e9a3ce96a0c9df4c299021254b0668d.
-rw-r--r-- | bin/sugar-install-bundle | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bin/sugar-install-bundle b/bin/sugar-install-bundle index a034135..52deada 100644 --- a/bin/sugar-install-bundle +++ b/bin/sugar-install-bundle @@ -1,6 +1,5 @@ #!/usr/bin/env python import sys -import fileinput from sugar.bundle.activitybundle import ActivityBundle @@ -15,8 +14,7 @@ if len(sys.argv) != 2: cmd_help() sys.exit(2) -for line in fileinput.input(): - if line: - bundle = ActivityBundle(line) - bundle.install() - print "%s: '%s' installed." % (sys.argv[0], line) +bundle = ActivityBundle(sys.argv[1]) +bundle.install() + +print "%s: '%s' installed." % (sys.argv[0], sys.argv[1]) |