From 236f71f6eaf1fc9c0c4171074b261e9958443e68 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 19 Aug 2013 21:45:11 +0100 Subject: Allow the argument to contain a tree name (i.e. subfolders) --- scripts/mandriva-svn2git.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/mandriva-svn2git.sh b/scripts/mandriva-svn2git.sh index 1f75bd2..e07127a 100755 --- a/scripts/mandriva-svn2git.sh +++ b/scripts/mandriva-svn2git.sh @@ -67,10 +67,14 @@ do done cd .. +mkdir -p $SOFTWARE.git +rmdir $SOFTWARE.git mv new-bare.git $SOFTWARE.git # CLEANUP +mkdir -p $SOFTWARE-origin +rmdir $SOFTWARE-origin mv temp $SOFTWARE-origin exit 0 -- cgit v1.2.1