summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2012-06-16 19:48:25 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-06-16 19:48:25 +0200
commit7fdc74786a59c69d41524d5f311f856cfa9a99c6 (patch)
treea351bee5041e4519cea2b81f12f1492a9e776565
parent8bd650da942c2a112de8f3d33ba727ae7be7ffd3 (diff)
downloaddbscripts-7fdc74786a59c69d41524d5f311f856cfa9a99c6.tar.gz
dbscripts-7fdc74786a59c69d41524d5f311f856cfa9a99c6.tar.xz
Fix handling of package sources containg files with an @ character20120616
-rwxr-xr-xdb-move4
1 files changed, 2 insertions, 2 deletions
diff --git a/db-move b/db-move
index 8ea7431..3ff1843 100755
--- a/db-move
+++ b/db-move
@@ -80,7 +80,7 @@ for pkgbase in ${args[@]:2}; do
if [ -d "${svnrepo_to}" ]; then
for file in $(/usr/bin/svn ls "${svnrepo_to}"); do
- /usr/bin/svn rm -q "${svnrepo_to}/$file"
+ /usr/bin/svn rm -q "${svnrepo_to}/$file@"
done
else
mkdir "${svnrepo_to}"
@@ -88,7 +88,7 @@ for pkgbase in ${args[@]:2}; do
fi
for file in $(svn ls "${svnrepo_from}"); do
- /usr/bin/svn mv -q -r HEAD "${svnrepo_from}/$file" "${svnrepo_to}/"
+ /usr/bin/svn mv -q -r HEAD "${svnrepo_from}/$file@" "${svnrepo_to}/"
done
/usr/bin/svn rm --force -q "${svnrepo_from}"
tag_list="$tag_list, $pkgarch"