summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update8
1 files changed, 4 insertions, 4 deletions
diff --git a/db-update b/db-update
index 2dfda2a..833abca 100755
--- a/db-update
+++ b/db-update
@@ -101,9 +101,9 @@ fi
if [ -n "$ADDPKGS" ]; then
echo "==> Processing new/updated packages for repository '$reponame'..." >&2
- /bin/cd "$WORKDIR"
+ cd "$WORKDIR"
/usr/bin/svn checkout -N $svnpath checkout
- /bin/cd checkout
+ cd checkout
for pkg in $ADDPKGS; do
_pkgfile=$(basename $pkg)
@@ -144,10 +144,10 @@ if [ -n "$REMPKGS" ]; then
echo "==> Processing deleted packages for repository '$reponame'..." >&2
if [ ! -d "$WORKDIR/checkout" ]; then
- /bin/cd "$WORKDIR"
+ cd "$WORKDIR"
/usr/bin/svn checkout -N $svnpath checkout
fi
- /bin/cd "$WORKDIR/checkout"
+ cd "$WORKDIR/checkout"
#TODO removal shouldn't require a package file
for pkg in $REMPKGS; do