Only commit if needed

This commit is contained in:
Pierre Schmitz 2011-08-14 21:30:08 +02:00
parent e64c1d33eb
commit c51cc8d365
1 changed files with 21 additions and 19 deletions

View File

@ -108,6 +108,7 @@ if [ "$1" = "-a" ]; then
shift 2
fi
if [ -n "$(svn status -q)" ]; then
echo -n 'committing changes to trunk...'
msgtemplate="upgpkg: $pkgbase $(get_full_version ${epoch:-0} $pkgver $pkgrel)
@ -131,6 +132,7 @@ else
unlink "$msgfile"
fi
echo 'done'
fi
declare -a uploads