]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
templatepkg: small fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 20:28:12 +0000 (20:28 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 20:28:12 +0000 (20:28 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@256 04377dda-e619-0410-9926-eae83683ac58

trunk/src/templatepkg

index 0c05fd907533ffbdc13ab3698a96899563d679e6..3d534cd1bd959dd78bcc59b4113c7acdcabaeba4 100755 (executable)
@@ -212,7 +212,7 @@ function template_create {
     mkdir $TEMPLATE_BASE.{d,s}
   fi
 
-  if [ -d "$ROOT" ]; then
+  if [ -d "/$ROOT" ]; then
     template_update
   elif [ ! -z "$ROOT" ]; then