]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
another minor fix at createpkg --import
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 16 Jan 2009 17:23:29 +0000 (17:23 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 16 Jan 2009 17:23:29 +0000 (17:23 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@749 04377dda-e619-0410-9926-eae83683ac58

trunk/src/createpkg

index dd6e45d6fd2a718f4236231c3d096d265a1a452d..e370fc119ab0a80da61dd24c8347e607f3f78c1c 100644 (file)
@@ -373,6 +373,7 @@ function repository_import {
 
   if [ "$repository_type" == "file" ] && [ ! -d "$repository_path" ]; then
     echo "Creating subversion repository $repository..."
+    mkdir -p `dirname $repository_path`
     svnadmin create $repository_path --fs-type fsfs
     if [ "$?" != "0" ]; then
       EXIT_CODE="1"