summaryrefslogtreecommitdiffstats
path: root/db-move
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-08-13 21:32:24 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-08-13 21:32:24 +0200
commit6ed5818a34a3761d86ec35c59fd7cf33c596246d (patch)
tree859a2c659ef0e8cd1556eff69582b6e62a7f5eb4 /db-move
parentf20e043dae4e8a465855d7a861c50e6fb28c303e (diff)
downloaddbscripts-6ed5818a34a3761d86ec35c59fd7cf33c596246d.tar.gz
dbscripts-6ed5818a34a3761d86ec35c59fd7cf33c596246d.tar.xz
db-move: Fix svn rm call
Diffstat (limited to 'db-move')
-rwxr-xr-xdb-move8
1 files changed, 4 insertions, 4 deletions
diff --git a/db-move b/db-move
index e3467e8..019faa2 100755
--- a/db-move
+++ b/db-move
@@ -78,16 +78,16 @@ for pkgbase in ${args[@]:2}; do
pkgver=$(. "${svnrepo_from}/PKGBUILD"; echo $(get_full_version ${epoch:-0} ${pkgver} ${pkgrel}))
if [ -d "${svnrepo_to}" ]; then
- for file in $(svn ls "${svnrepo_to}"); do
- svn rm -q "$file"
+ for file in $(/usr/bin/svn ls "${svnrepo_to}"); do
+ /usr/bin/svn rm -q "${svnrepo_to}/$file"
done
else
mkdir "${svnrepo_to}"
- svn add "${svnrepo_to}"
+ /usr/bin/svn add -q "${svnrepo_to}"
fi
for file in $(svn ls "${svnrepo_from}"); do
- 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}"
/usr/bin/svn commit -q "${WORKDIR}/svn/${pkgbase}" -m "$(basename $0): moved ${pkgbase} from [${repo_from}] to [${repo_to}] (${pkgarch})"