From 5d39ffb3414f1d4d13ae73ba5dbefa957c92dfe6 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 21 Jun 2011 14:00:32 -0500 Subject: archrelease: add repos/ directory if it doesn't exist Very easy thing to forget when creating a new package, but easy enough to check for and add automatically. Signed-off-by: Dan McGee Signed-off-by: Pierre Schmitz --- archrelease | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'archrelease') diff --git a/archrelease b/archrelease index 8ea718c..baaf6cf 100755 --- a/archrelease +++ b/archrelease @@ -29,6 +29,10 @@ if [ -d "repos/${1}" ]; then svn rm --force -q "repos/${1}" svn commit -q -m "archrelease: remove ${1}" || abort fi +if [ ! -d repos ]; then + mkdir repos + svn add repos +fi svn copy -q -r HEAD "${trunk}" "repos/${1}" svn commit -q -m "archrelease: copy ${trunk} to ${1}" || abort popd >/dev/null -- cgit v1.2.3-70-g09d2