diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-05-07 07:18:31 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-05-07 07:18:31 +0200 |
commit | 516aece0d26fc3b36e49c2739286f2be5cc0aa01 (patch) | |
tree | 68201a732847941e2fe5201a2d96a6b06929afcc | |
parent | e259c23bb739c3129e23e053cf1c5a846c6c3e76 (diff) | |
download | dbscripts-516aece0d26fc3b36e49c2739286f2be5cc0aa01.tar.gz dbscripts-516aece0d26fc3b36e49c2739286f2be5cc0aa01.tar.xz |
Whoops, 'cd' is a built in - who knew?
I sure didn't
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-x | db-update | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |