aboutsummaryrefslogtreecommitdiff
path: root/build/meta/vcsln
diff options
context:
space:
mode:
Diffstat (limited to 'build/meta/vcsln')
-rwxr-xr-xbuild/meta/vcsln10
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