[saphire/f16] Revert "use sed instead of dos2unit"

Mamoru Tasaka mtasaka at fedoraproject.org
Tue Jan 10 09:35:39 UTC 2012


commit 81e089426bfc2b3707859dce4dfe6f772a6104dd
Author: TASAKA Mamoru <mtasaka at localhost.localdomain>
Date:   Tue Jan 10 18:35:07 2012 +0900

    Revert "use sed instead of dos2unit"
    
    This reverts commit 4b33ca7dcb1c91e01d0fc77dd4547f740595c64b.

 saphire.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/saphire.spec b/saphire.spec
index b032faa..14cac22 100644
--- a/saphire.spec
+++ b/saphire.spec
@@ -70,7 +70,7 @@ do
 	touch -r $f $f.stamp
 	iconv -f EUC-JP -t UTF-8 $f > $f.utf8 && mv -f $f.utf8 $f || rm -f $f.utf8
 	iconv -f SHIFT-JIS -t UTF-8 $f > $f.utf8 && mv -f $f.utf8 $f || rm -f $f.utf8
-	sed -i -e 's|\r||' $f
+	dos2unix $f
 	touch -r $f.stamp $f
 	rm -f $f.stamp
 done


More information about the scm-commits mailing list