Whitespace cleanup.

This commit is contained in:
Drarok Ithaqua 2012-11-27 12:03:51 +00:00
parent d750e7d9e3
commit 79e620c392

View File

@ -15,7 +15,7 @@ function in_svn() {
function svn_get_repo_name { function svn_get_repo_name {
if [ $(in_svn) ]; then if [ $(in_svn) ]; then
svn info | sed -n 's/Repository\ Root:\ .*\///p' | read SVN_ROOT svn info | sed -n 's/Repository\ Root:\ .*\///p' | read SVN_ROOT
svn info | sed -n "s/URL:\ .*$SVN_ROOT\///p" svn info | sed -n "s/URL:\ .*$SVN_ROOT\///p"
fi fi
} }
@ -31,7 +31,7 @@ function svn_dirty_choose {
svn status 2> /dev/null | grep -Eq '^\s*[ACDIM!?L]' svn status 2> /dev/null | grep -Eq '^\s*[ACDIM!?L]'
if [ $pipestatus[-1] -ne 0 ]; then if [ $pipestatus[-1] -ne 0 ]; then
echo $1 echo $1
else else
echo $2 echo $2
fi fi
fi fi