Commit 7f565623 authored by Carlo Landmeter's avatar Carlo Landmeter

abuild: switch to svn co instead of export

Some projects use the svn revision in the version number.
svn co brings back the revision number but increases the archive size.
parent 9d300d72
...@@ -1849,7 +1849,7 @@ snapshot() { ...@@ -1849,7 +1849,7 @@ snapshot() {
die "Missing svn! Install subverion to support svn export." die "Missing svn! Install subverion to support svn export."
[ -n "$reporev" ] && local _rev="-r $reporev" [ -n "$reporev" ] && local _rev="-r $reporev"
msg "Creating svn snapshot: $pkgname-$_version" msg "Creating svn snapshot: $pkgname-$_version"
svn export $_rev $svnurl $pkgname-$_version || return 1 svn co $_rev $svnurl $pkgname-$_version || return 1
tar zcf $pkgname-$_version.$_format $pkgname-$_version || return 1 tar zcf $pkgname-$_version.$_format $pkgname-$_version || return 1
fi fi
# upload to defined distfiles url # upload to defined distfiles url
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment