summaryrefslogtreecommitdiffstats
path: root/abuild.in
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-02-18 08:43:48 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-02-18 08:43:48 +0000
commit7f565623378af45973b9d0cc7fd4fae683dbab63 (patch)
tree9ccafc5ece573a37f04fffaafda69b0e7793914a /abuild.in
parent9d300d72e43395e75e8688c5aaada4c80316ca5f (diff)
downloadabuild-7f565623378af45973b9d0cc7fd4fae683dbab63.tar.bz2
abuild-7f565623378af45973b9d0cc7fd4fae683dbab63.tar.xz
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.
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 8e8f6d0..e401ff1 100755
--- a/abuild.in
+++ b/abuild.in
@@ -1849,7 +1849,7 @@ snapshot() {
die "Missing svn! Install subverion to support svn export."
[ -n "$reporev" ] && local _rev="-r $reporev"
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
fi
# upload to defined distfiles url