Change gccxml wrapper to work with older bash version. Hopefull this doesn't break...
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 4 Feb 2010 15:57:06 +0000 (16:57 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 4 Feb 2010 15:57:06 +0000 (16:57 +0100)
libt2n-gccxml.sh

index 162d792..2f7309f 100755 (executable)
@@ -11,18 +11,18 @@ if ! ((EOO)); then
       ;;
     --)
       EOO=1
-      OPTIONS+=("$1")
+      OPTIONS="$OPTIONS $1"
       shift
       ;;
     *)
-      OPTIONS+=("$1")
+      OPTIONS="$OPTIONS $1"
       shift
       ;;
   esac
 else
-  OPTIONS+=("$1")
+  OPTIONS="$OPTIONS $1"
   shift
 fi
 done
 
-gccxml "${OPTIONS[@]}"
+gccxml $OPTIONS