source: gs2-extensions/parallel-building/trunk/src/CASCADE-MAKE.sh

Last change on this file was 30280, checked in by jmt12, 7 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
3source devel.bash
4
5builddir="${0%/*}/$GSDLOS"
6if [ ! -d "${builddir}" ]
7then
8 echo "Creating platform-specific build directory: ${builddir}"
9 mkdir -p "${builddir}"
10fi
11
12
13for 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
22done
23
24if [ $makedist = "1" ] ; then
25 default_toplevel_make_dist $GSDLOS
26fi
Note: See TracBrowser for help on using the repository browser.