aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-05 13:17:22 -0400
committerChris Larson <chris_larson@mentor.com>2010-11-05 13:17:22 -0400
commitd4c084b2e51748cfb50c73b65348303af9235122 (patch)
tree44f57c9a8eeb428ae81a2cfb8399712bddbe60b6
parente58fe232ef1630414daa21da3ddc3464f90c4e17 (diff)
downloadopenembedded-d4c084b2e51748cfb50c73b65348303af9235122.zip
openembedded-d4c084b2e51748cfb50c73b65348303af9235122.tar.gz
openembedded-d4c084b2e51748cfb50c73b65348303af9235122.tar.bz2
bin/sed: Fix arg saving thinko
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rwxr-xr-xbin/sed6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/sed b/bin/sed
index 2200bd1..352a3ca 100755
--- a/bin/sed
+++ b/bin/sed
@@ -47,12 +47,10 @@ while getopts ne:f:$getopt_os opt; do
save "$OPTARG"
;;
i)
- save "$inplace_arg"
- continue
+ saved="$saved $inplace_arg"
;;
r)
- save "$extended_re_arg"
- continue
+ saved="$saved $extended_re_arg"
;;
\?)
exit 1