Last change
on this file was 30280, checked in by jmt12, 9 years ago |
Ensure the platform specific directory for built files exists. It may not in fresh check-outs
|
-
Property svn:executable
set to
*
|
File size:
459 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | source devel.bash
|
---|
4 |
|
---|
5 | builddir="${0%/*}/$GSDLOS"
|
---|
6 | if [ ! -d "${builddir}" ]
|
---|
7 | then
|
---|
8 | echo "Creating platform-specific build directory: ${builddir}"
|
---|
9 | mkdir -p "${builddir}"
|
---|
10 | fi
|
---|
11 |
|
---|
12 |
|
---|
13 | for d in packages src ; do
|
---|
14 | echo "Running $d/CASCADE-MAKE.sh"
|
---|
15 |
|
---|
16 | (cd $d ; ./CASCADE-MAKE.sh $*)
|
---|
17 |
|
---|
18 | if [ $? != 0 ] ; then
|
---|
19 | echo "Error encountered running $d/CASCADE-MAKE.sh"
|
---|
20 | exit 1
|
---|
21 | fi
|
---|
22 | done
|
---|
23 |
|
---|
24 | if [ $makedist = "1" ] ; then
|
---|
25 | default_toplevel_make_dist $GSDLOS
|
---|
26 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.