From: Zac Medico Date: Fri, 20 Oct 2006 07:39:49 +0000 (-0000) Subject: Fix sed options from the previous commit so that it doesn't create a backup file... X-Git-Tag: v2.1.2~594 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=43a4660919b8f9438b9e6753bfefa6fcad693ba3;p=portage.git Fix sed options from the previous commit so that it doesn't create a backup file ending with "e". Thanks to grobian for spotting this issue. svn path=/main/trunk/; revision=4763 --- diff --git a/bin/dosed b/bin/dosed index e14194b28..5ae09b7ed 100755 --- a/bin/dosed +++ b/bin/dosed @@ -9,7 +9,7 @@ for x in "$@" ; do y="${D}${x}" if [ -e "${y}" ] ; then if [ -f "${y}" ] ; then - sed -ie "${mysed}" "${y}" + sed -i -e "${mysed}" "${y}" else echo "${y} is not a regular file!" exit 1