diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-02-18 16:52:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-02-18 16:52:26 +0200 |
commit | f80809f490dd8ab4b52a996a027d0f64446bc98f (patch) | |
tree | 21ae750bece485c10b3338c23e87f25e3e41f58b /build/meta/vcsln | |
parent | 602c19c85d7fa74646fe1891c7fd1f81088e0248 (diff) |
Use todos/fromdos instead of deprecated dos2unix/unix2dos
Diffstat (limited to 'build/meta/vcsln')
-rwxr-xr-x | build/meta/vcsln | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build/meta/vcsln b/build/meta/vcsln index 8914a96..525b99e 100755 --- a/build/meta/vcsln +++ b/build/meta/vcsln @@ -82,7 +82,7 @@ if [ "$vcver" = "" ]; then fi m4=m4 -u2d=unix2dos +u2d=todos # Assume this script is never found via PATH. # @@ -135,21 +135,21 @@ for f in $proj_files; do if [ "$conf" = "" ]; then if [ "$vcver" = "9" ]; then - conf=`cat $f | dos2unix | sed -n -e \ + conf=`cat $f | fromdos | sed -n -e \ '/^[ ]*<Configuration$/{n;s/[ ]*Name="\([^"]*\)"$/"\1",/p};d' -` conf=`echo $conf | sed -e 's/,$//'` else - conf=`cat $f | dos2unix | sed -n -e \ + conf=`cat $f | fromdos | sed -n -e \ 's/^[ ]*<ProjectConfiguration Include="\([^"]*\)">$/"\1",/p;d' -` conf=`echo $conf | sed -e 's/,$//'` fi fi if [ "$vcver" = "9" ]; then - uuid=`cat $f | dos2unix | sed -n -e \ + uuid=`cat $f | fromdos | sed -n -e \ 's/^[ ]*ProjectGUID="{\([^}]*\)}"$/\1/p;d'` else - uuid=`cat $f | dos2unix | sed -n -e \ + uuid=`cat $f | fromdos | sed -n -e \ 's/^[ ]*<ProjectGuid>{\([^}]*\)}<\/ProjectGuid>$/\1/p;d'` fi |