[asterisk-commits] russell: testsuite/bamboo/trunk r790 - /bamboo/trunk/bin/build-libpri.sh

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 14 14:51:14 CDT 2010


Author: russell
Date: Tue Sep 14 14:51:11 2010
New Revision: 790

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=790
Log:
Make better for FreeBSD.

Modified:
    bamboo/trunk/bin/build-libpri.sh

Modified: bamboo/trunk/bin/build-libpri.sh
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/bin/build-libpri.sh?view=diff&rev=790&r1=789&r2=790
==============================================================================
--- bamboo/trunk/bin/build-libpri.sh (original)
+++ bamboo/trunk/bin/build-libpri.sh Tue Sep 14 14:51:11 2010
@@ -1,7 +1,13 @@
-#!/bin/bash
+#!/bin/sh
 
-make
-make install
+if which gmake ; then
+	MAKE=gmake
+else
+	MAKE=make
+fi
+
+${MAKE}
+${MAKE} install
 
 mkdir -p test-reports
 # TODO: Run tests and put results in an XML file in the test-reports directory




More information about the asterisk-commits mailing list