The Assimilation Monitoring Project
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
determinelibdir.py
Go to the documentation of this file.
1
#
2
#
3
# This file is part of the Assimilation Project.
4
#
5
# Copyright (C) 2011, 2012 - Alan Robertson <alanr@unix.sh>
6
#
7
# The Assimilation software is free software: you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License as published by
9
# the Free Software Foundation, either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# The Assimilation software is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with the Assimilation Project software. If not, see http://www.gnu.org/licenses/
19
#
20
#
21
import
os
22
import
sys
23
import
re
24
libs = [
"/lib64"
,
"/lib"
]
25
26
for
lib
in
libs:
27
if
os.path.isdir(lib):
28
print
os.path.basename(lib)
29
sys.exit(0)
30
print
"lib"
31
sys.exit(1)
src
buildtools
determinelibdir.py
Generated on Tue May 21 2013 16:22:38 for The Assimilation Monitoring Project by
1.8.3.1