diff options
author | Colin Guthrie <colin@mageia.org> | 2013-08-19 21:45:11 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-08-19 21:45:11 +0100 |
commit | 236f71f6eaf1fc9c0c4171074b261e9958443e68 (patch) | |
tree | 51c86b3ff4d15286c6f5663bea8abf61cba8952a /scripts | |
parent | fc6813194b819262bcb81129b169069c14c4c3e0 (diff) | |
download | svn-git-migration-236f71f6eaf1fc9c0c4171074b261e9958443e68.tar svn-git-migration-236f71f6eaf1fc9c0c4171074b261e9958443e68.tar.gz svn-git-migration-236f71f6eaf1fc9c0c4171074b261e9958443e68.tar.bz2 svn-git-migration-236f71f6eaf1fc9c0c4171074b261e9958443e68.tar.xz svn-git-migration-236f71f6eaf1fc9c0c4171074b261e9958443e68.zip |
Allow the argument to contain a tree name (i.e. subfolders)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mandriva-svn2git.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |