SysPaths.py (2931:871cb78cd6fa) SysPaths.py (3223:a2b6fa575c05)
1# Copyright (c) 2006 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 44 unchanged lines hidden (view full) ---

53 if os.path.isdir(system.dir):
54 break
55 else:
56 raise ImportError, "Can't find a path to system files."
57
58 if not binary.dir:
59 binary.dir = joinpath(system.dir, 'binaries')
60 if not disk.dir:
1# Copyright (c) 2006 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 44 unchanged lines hidden (view full) ---

53 if os.path.isdir(system.dir):
54 break
55 else:
56 raise ImportError, "Can't find a path to system files."
57
58 if not binary.dir:
59 binary.dir = joinpath(system.dir, 'binaries')
60 if not disk.dir:
61 disk.dir = joinpath(system.dir, 'disks')
61 disk.dir = joinpath('/n/zamp/z/ktlim/local/clean/linux', 'disks')
62 if not script.dir:
63 script.dir = joinpath(system.dir, 'boot')
64
65system.dir = None
66binary.dir = None
67disk.dir = None
68script.dir = None
62 if not script.dir:
63 script.dir = joinpath(system.dir, 'boot')
64
65system.dir = None
66binary.dir = None
67disk.dir = None
68script.dir = None