diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-07-05 12:09:04 -0700 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-07-05 12:09:48 -0700 |
| commit | 3527e2f9f1ad7bb7fdf78a9411f7b101c6d41415 (patch) | |
| tree | c78f98d5b4e92e32d52da495d7e1689a8731ad6b /sp/src/thirdparty/protobuf-2.3.0/vsprojects | |
| parent | Update text & binary attributes. (diff) | |
| download | source-sdk-2013-3527e2f9f1ad7bb7fdf78a9411f7b101c6d41415.tar.xz source-sdk-2013-3527e2f9f1ad7bb7fdf78a9411f7b101c6d41415.zip | |
Normalize line endings
Fixes issue #75.
Diffstat (limited to 'sp/src/thirdparty/protobuf-2.3.0/vsprojects')
| -rw-r--r-- | sp/src/thirdparty/protobuf-2.3.0/vsprojects/convert2008to2005.sh | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/sp/src/thirdparty/protobuf-2.3.0/vsprojects/convert2008to2005.sh b/sp/src/thirdparty/protobuf-2.3.0/vsprojects/convert2008to2005.sh index e01be421..60eccaf3 100644 --- a/sp/src/thirdparty/protobuf-2.3.0/vsprojects/convert2008to2005.sh +++ b/sp/src/thirdparty/protobuf-2.3.0/vsprojects/convert2008to2005.sh @@ -1,20 +1,20 @@ -#! /bin/sh -e
-
-# This script downgrades MSVC 2008 projects to MSVC 2005 projects, allowing
-# people with MSVC 2005 to open them. Otherwise, MSVC 2005 simply refuses to
-# open projects created with 2008. We run this as part of our release process.
-# If you obtained the code direct from version control and you want to use
-# MSVC 2005, you may have to run this manually. (Hint: Use Cygwin or MSYS.)
-
-for file in *.sln; do
- echo "downgrading $file..."
- sed -i -re 's/Format Version 10.00/Format Version 9.00/g;
- s/Visual Studio 2008/Visual Studio 2005/g;' $file
-done
-
-for file in *.vcproj; do
- echo "downgrading $file..."
- sed -i -re 's/Version="9.00"/Version="8.00"/g;' $file
-done
-
-# Yes, really, that's it.
+#! /bin/sh -e + +# This script downgrades MSVC 2008 projects to MSVC 2005 projects, allowing +# people with MSVC 2005 to open them. Otherwise, MSVC 2005 simply refuses to +# open projects created with 2008. We run this as part of our release process. +# If you obtained the code direct from version control and you want to use +# MSVC 2005, you may have to run this manually. (Hint: Use Cygwin or MSYS.) + +for file in *.sln; do + echo "downgrading $file..." + sed -i -re 's/Format Version 10.00/Format Version 9.00/g; + s/Visual Studio 2008/Visual Studio 2005/g;' $file +done + +for file in *.vcproj; do + echo "downgrading $file..." + sed -i -re 's/Version="9.00"/Version="8.00"/g;' $file +done + +# Yes, really, that's it. |