Set svn:eol-style. Cleaned up set-eol-style.sh a bit.
parent
a7320acac1
commit
53b5fa4974
|
@ -1,10 +1,10 @@
|
||||||
using libsecondlife;
|
using libsecondlife;
|
||||||
|
|
||||||
namespace OpenSim.Framework
|
namespace OpenSim.Framework
|
||||||
{
|
{
|
||||||
public struct AssetRequest
|
public struct AssetRequest
|
||||||
{
|
{
|
||||||
public LLUUID AssetID;
|
public LLUUID AssetID;
|
||||||
public bool IsTexture;
|
public bool IsTexture;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,5 +1,15 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
find OpenSim -name \*\.cs | xargs perl -pi -e 's/\r//'
|
set_eol_style()
|
||||||
find OpenSim -name \*\.cs | xargs svn propset svn:eol-style native
|
{
|
||||||
|
for file in $*; do
|
||||||
|
svn_status=`svn propget svn:eol-style $file`
|
||||||
|
if [ -z "${svn_status}" -o "${svn_status}" != "native" ]; then
|
||||||
|
svn propset svn:eol-style native $file
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
for file in `find OpenSim -name \*\.cs`; do
|
||||||
|
set_eol_style $file
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue