You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by gd...@apache.org on 2011/11/02 18:56:33 UTC

svn commit: r1196720 - in /pig/trunk: CHANGES.txt bin/pig

Author: gdfm
Date: Wed Nov  2 17:56:32 2011
New Revision: 1196720

URL: http://svn.apache.org/viewvc?rev=1196720&view=rev
Log:
Reverted to a syntax compatible with bash 3.0

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/bin/pig

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1196720&r1=1196719&r2=1196720&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Wed Nov  2 17:56:32 2011
@@ -156,6 +156,8 @@ PIG-2228: support partial aggregation in
 
 BUG FIXES
 
+PIG-2335: bin/pig does not work with bash 3.0 (azaroth)
+
 PIG-2275: NullPointerException from ILLUSTRATE (daijy)
 
 PIG-2119: DuplicateForEachColumnRewrite makes assumptions about the position of LOGGenerate in the plan (daijy)

Modified: pig/trunk/bin/pig
URL: http://svn.apache.org/viewvc/pig/trunk/bin/pig?rev=1196720&r1=1196719&r2=1196720&view=diff
==============================================================================
--- pig/trunk/bin/pig (original)
+++ pig/trunk/bin/pig Wed Nov  2 17:56:32 2011
@@ -49,7 +49,7 @@ for f in "$@"; do
      if [[ $f = "-secretDebugCmd" ]]; then
         debug=true
      else
-        remaining+=("$f")
+        remaining[${#remaining[@]}]="$f"
      fi
 done