# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# Required parameters
+arch=${arch:-}
+conf=${conf:-}
+build=${build:-}
+
SRCDIR="$WORKSPACE/src/babeltrace"
TMPDIR="$WORKSPACE/tmp"
NPROC=gnproc
BISON=bison
YACC="$BISON -y"
+ export PATH="/opt/csw/bin:/usr/ccs/bin:$PATH"
;;
solaris11)
MAKE=gmake
dist)
echo "Distribution out of tree build"
- BUILD_PATH="`mktemp -d`"
+ BUILD_PATH="$(mktemp -d)"
# Initial configure and generate tarball
MAKE=$MAKE BISON="$BISON" YACC="$YACC" "$SRCDIR/configure"
esac
# BUILD!
-$MAKE -j `$NPROC` V=1
+$MAKE -j "$($NPROC)" V=1
$MAKE install
# Run tests