aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-01-11 01:07:06 +0000
committerNicolas Vigier <boklm@mageia.org>2013-01-11 01:07:06 +0000
commitf7593232c4020ffe3d9916e5ea0969ee60006a12 (patch)
tree92f2ecfa6ca15577cb0d82cb0026f8769087da51
parent534bce7cd2b17c4bd046f3058fcc21a4d5420749 (diff)
downloadrelease-f7593232c4020ffe3d9916e5ea0969ee60006a12.tar
release-f7593232c4020ffe3d9916e5ea0969ee60006a12.tar.gz
release-f7593232c4020ffe3d9916e5ea0969ee60006a12.tar.bz2
release-f7593232c4020ffe3d9916e5ea0969ee60006a12.tar.xz
release-f7593232c4020ffe3d9916e5ea0969ee60006a12.zip
rename-rpm-group: checkout only SPECS dir (suggested by pterjan)
-rwxr-xr-xrename-rpm-group4
1 files changed, 2 insertions, 2 deletions
diff --git a/rename-rpm-group b/rename-rpm-group
index 794ee5a..b5ad8df 100755
--- a/rename-rpm-group
+++ b/rename-rpm-group
@@ -55,9 +55,9 @@ sub print_update_group_cmd {
echo Updating package $pkgname
tmpdir=\$(mktemp -d)
cd \$tmpdir
-svn co $svnurl/$pkgname/current pkg
+svn co $svnurl/$pkgname/current/SPECS pkg
cd pkg
-sed -i 's:$oldgrp:$newgrp:' SPECS/*.spec
+sed -i 's:$oldgrp:$newgrp:' *.spec
svn diff
svn ci -m 'Update group: $oldgrp -> $newgrp'
cd /tmp