]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
common.sh: small fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 17:30:24 +0000 (17:30 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 17:30:24 +0000 (17:30 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@249 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh

index d5688547ebcbdbfc2428490c312ba5ae613a663a..d7e1b9515565c1209f628a236fd8cac8c5eef9fe 100644 (file)
@@ -464,9 +464,9 @@ function copy_template_files {
     if [ -d "$TEMPLATE_BASE.d" ]; then 
       if use_svn && [ -d "$TEMPLATE_BASE.d/.svn" ]; then
         svn update
-        rsync -av --exclude=.svn $TEMPLATE_BASE.d/ $JAIL_ROOT/$server/
+        rsync -av --exclude=.svn $TEMPLATE_BASE.d/ $1/
       else
-        rsync -av $TEMPLATE_BASE.d/ $JAIL_ROOT/$server/
+        rsync -av $TEMPLATE_BASE.d/ $1/
       fi
     fi
   fi