[asterisk-scf-commits] asterisk-scf/release/cmake.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Nov 11 10:29:40 CST 2010


branch "master" has been updated
       via  6a530d70135a207183ad66df86e6ee058dc0b616 (commit)
      from  38e99693843879defe62de7b922b60e940f02efa (commit)

Summary of changes:
 init-cmake.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 6a530d70135a207183ad66df86e6ee058dc0b616
Author: David M. Lee <dlee at unknown.(none)>
Date:   Thu Nov 11 16:24:31 2010 -0600

    Fixed init-cmake.sh for older versions of Bash.
    
    Solaris ships with bash 3.0, which doesn't support the += operator
    for arrays.

diff --git a/init-cmake.sh b/init-cmake.sh
index f9b20e8..9cd72c9 100755
--- a/init-cmake.sh
+++ b/init-cmake.sh
@@ -40,7 +40,7 @@ srcdir=..
 
 function add_cmake_args()
 {
-   cmake_args+=("$@")
+   cmake_args=("${cmake_args[@]}" "$@")
 }
 
 case $(uname -s)-$(uname -m) in

-----------------------------------------------------------------------


-- 
asterisk-scf/release/cmake.git



More information about the asterisk-scf-commits mailing list