summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Charette <francois@archlinux.org>2009-05-12 11:29:44 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-05-12 13:04:14 -0700
commit61053b6c98723488454eaeaf105a77dc0c3f8bbc (patch)
tree0e8e46b925103778d4c9fcb735f9744538a3c8ac
parent9925af8a8aa791026f0f51a9be601bfbc15d0a40 (diff)
create $WORKDIR before cding to it
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xdb-update1
1 files changed, 1 insertions, 0 deletions
diff --git a/db-update b/db-update
index 132049f..ace0d0e 100755
--- a/db-update
+++ b/db-update
@@ -83,6 +83,7 @@ fi
pkgtotal=$(echo "$ANYPKGS" | wc -w)
echo "==> Processing $pkgtotal new/updated arch-independent packages for '$reponame'..." >&2
+mkdir -p $WORKDIR
cd "$WORKDIR"
svnpath="$(get_svnpath $reponame)"
/usr/bin/svn checkout -N $svnpath checkout