4.104.115
Line | |
---|
1 | #! /usr/bin/env python |
---|
2 | # |
---|
3 | # RTEMS Tools Project (http://www.rtems.org/) |
---|
4 | # Copyright 2010-2012 Chris Johns (chrisj@rtems.org) |
---|
5 | # All rights reserved. |
---|
6 | # |
---|
7 | # This file is part of the RTEMS Tools package in 'rtems-tools'. |
---|
8 | # |
---|
9 | # RTEMS Tools is free software: you can redistribute it and/or modify |
---|
10 | # it under the terms of the GNU General Public License as published by |
---|
11 | # the Free Software Foundation, either version 3 of the License, or |
---|
12 | # (at your option) any later version. |
---|
13 | # |
---|
14 | # RTEMS Tools is distributed in the hope that it will be useful, |
---|
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | # GNU General Public License for more details. |
---|
18 | # |
---|
19 | # You should have received a copy of the GNU General Public License |
---|
20 | # along with RTEMS Tools. If not, see <http://www.gnu.org/licenses/>. |
---|
21 | # |
---|
22 | |
---|
23 | import sys, os |
---|
24 | base = os.path.dirname(sys.argv[0]) |
---|
25 | sys.path.insert(0, base + '/specbuilder') |
---|
26 | try: |
---|
27 | import build |
---|
28 | build.run(sys.argv) |
---|
29 | except ImportError: |
---|
30 | print >> sys.stderr, "Incorrect SpecBulder installation" |
---|
31 | sys.exit(1) |
---|
Note: See
TracBrowser
for help on using the repository browser.