/[gli]/branches/overhaul/src/GLIPortage.py
Gentoo

Diff of /branches/overhaul/src/GLIPortage.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1306 Revision 1307
3# This source code is distributed under the terms of version 2 of the GNU 3# This source code is distributed under the terms of version 2 of the GNU
4# General Public License as published by the Free Software Foundation, a copy 4# General Public License as published by the Free Software Foundation, a copy
5# of which can be found in the main directory of this project. 5# of which can be found in the main directory of this project.
6Gentoo Linux Installer 6Gentoo Linux Installer
7 7
8$Id: GLIPortage.py,v 1.43 2006/02/20 16:48:15 agaffney Exp $ 8$Id: GLIPortage.py,v 1.44 2006/02/20 17:11:41 agaffney Exp $
9""" 9"""
10 10
11import re 11import re
12import os 12import os
13import sys 13import sys
252 252
253if __name__ == "__main__": 253if __name__ == "__main__":
254 chroot_dir = "/mnt/gentoo" 254 chroot_dir = "/mnt/gentoo"
255 mode = None 255 mode = None
256 grp_packages = [] 256 grp_packages = []
257 while sys.argv.length: 257 while len(sys.argv):
258 arg = sys.argv.pop(0) 258 arg = sys.argv.pop(0)
259 if arg == "-c" or arg == "--chroot-dir": 259 if arg == "-c" or arg == "--chroot-dir":
260 chroot_dir = sys.argv.pop(0) 260 chroot_dir = sys.argv.pop(0)
261 elif arg == "-g" or arg == "--grp": 261 elif arg == "-g" or arg == "--grp":
262 mode = "grp" 262 mode = "grp"

Legend:
Removed from v.1306  
changed lines
  Added in v.1307

  ViewVC Help
Powered by ViewVC 1.1.20