From 516aece0d26fc3b36e49c2739286f2be5cc0aa01 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 7 May 2008 01:18:31 -0400 Subject: Whoops, 'cd' is a built in - who knew? I sure didn't Signed-off-by: Aaron Griffin --- db-update | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'db-update') 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 -- cgit v1.2.3-24-g4f1b