[saphire/f16] use sed instead of dos2unit
Mamoru Tasaka
mtasaka at fedoraproject.org
Tue Jan 10 09:22:03 UTC 2012
commit 4b33ca7dcb1c91e01d0fc77dd4547f740595c64b
Author: TASAKA Mamoru <mtasaka at localhost.localdomain>
Date: Tue Jan 10 18:21:04 2012 +0900
use sed instead of dos2unit
saphire.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/saphire.spec b/saphire.spec
index 14cac22..b032faa 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
- dos2unix $f
+ sed -i -e 's|\r||' $f
touch -r $f.stamp $f
rm -f $f.stamp
done
More information about the scm-commits
mailing list