summaryrefslogtreecommitdiff
path: root/db-update
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-05-07 01:18:31 -0400
committerAaron Griffin <aaronmgriffin@gmail.com>2008-05-07 01:18:31 -0400
commit516aece0d26fc3b36e49c2739286f2be5cc0aa01 (patch)
tree68201a732847941e2fe5201a2d96a6b06929afcc /db-update
parente259c23bb739c3129e23e053cf1c5a846c6c3e76 (diff)
Whoops, 'cd' is a built in - who knew?
I sure didn't Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
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