index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | archrelease | 6 |
diff --git a/archrelease b/archrelease index f1fbb26..70845a6 100755 --- a/archrelease +++ b/archrelease @@ -23,6 +23,12 @@ fi echo -n 'releasing package...' pushd .. >/dev/null +url=$(svn info | grep URL) +url="${url##*URL: }" +if [ -z "$(svn diff ${url}/trunk ${url}/repos/${1} 2>/dev/null)" -a $? -eq 0 ]; then + echo 'already done' + exit 1 +fi if [ -d repos/$1 ]; then svn rm --force -q repos/$1 svn commit -q -m "archrelease: remove $1" |