Fix sed options from the previous commit so that it doesn't create a backup file...
authorZac Medico <zmedico@gentoo.org>
Fri, 20 Oct 2006 07:39:49 +0000 (07:39 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 20 Oct 2006 07:39:49 +0000 (07:39 -0000)
svn path=/main/trunk/; revision=4763

bin/dosed

index e14194b2828c9635865bb6d06cfffa4f3f2b5db5..5ae09b7ed5e66888b8b48d61c185fb7daf3e0728 100755 (executable)
--- 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