From 61053b6c98723488454eaeaf105a77dc0c3f8bbc Mon Sep 17 00:00:00 2001 From: Francois Charette Date: Tue, 12 May 2009 11:29:44 +0200 Subject: create $WORKDIR before cding to it Signed-off-by: Aaron Griffin --- db-update | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-24-g4f1b