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:05 UTC

svn commit: r1196719 - in /pig/branches/branch-0.10: CHANGES.txt bin/pig

Author: gdfm
Date: Wed Nov  2 17:56:05 2011
New Revision: 1196719

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

Modified:
    pig/branches/branch-0.10/CHANGES.txt
    pig/branches/branch-0.10/bin/pig

Modified: pig/branches/branch-0.10/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.10/CHANGES.txt?rev=1196719&r1=1196718&r2=1196719&view=diff
==============================================================================
--- pig/branches/branch-0.10/CHANGES.txt (original)
+++ pig/branches/branch-0.10/CHANGES.txt Wed Nov  2 17:56:05 2011
@@ -146,6 +146,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/branches/branch-0.10/bin/pig
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.10/bin/pig?rev=1196719&r1=1196718&r2=1196719&view=diff
==============================================================================
--- pig/branches/branch-0.10/bin/pig (original)
+++ pig/branches/branch-0.10/bin/pig Wed Nov  2 17:56:05 2011
@@ -49,7 +49,7 @@ for f in "$@"; do
      if [[ $f = "-secretDebugCmd" ]]; then
         debug=true
      else
-        remaining+=("$f")
+        remaining[${#remaining[@]}]="$f"
      fi
 done