diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-04-25 22:29:34 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-04-25 22:29:34 +0000 |
commit | eee18c7ec7bb472976b8b3deb2f9fa619e1fda72 (patch) | |
tree | 428064793097ecf150b65994844eac2fa708ff6e | |
parent | 4f2ba7e7ab7017ff009951bf4a475f068d9910be (diff) | |
download | netpbm-mirror-eee18c7ec7bb472976b8b3deb2f9fa619e1fda72.tar.gz netpbm-mirror-eee18c7ec7bb472976b8b3deb2f9fa619e1fda72.tar.xz netpbm-mirror-eee18c7ec7bb472976b8b3deb2f9fa619e1fda72.zip |
don't use 'set' to set variable; patch from Red Hat
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@892 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rwxr-xr-x | editor/ppmquantall | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/ppmquantall b/editor/ppmquantall index 7f3d4849..4807de8c 100755 --- a/editor/ppmquantall +++ b/editor/ppmquantall @@ -62,8 +62,8 @@ files=($@) # To be robust, we need to use Pnmfile to get that information, or # Put this program in C and use ppm_readppminit(). -set widths=() -set heights=() +widths=() +heights=() for i in ${files[@]}; do widths=(${widths[*]} `grep -v '^#' $i | sed '1d; s/ .*//; 2q'`) |