]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
small fixes & TODO update
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 14 Feb 2007 23:08:34 +0000 (23:08 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 14 Feb 2007 23:08:34 +0000 (23:08 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@188 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh
trunk/src/jail-commit
trunk/src/templatepkg

index ac895969392e9f7b4613b02b77f088c2831f711c..28ee8ea34289ffcda644001cb01ade5de7855f27 100644 (file)
@@ -288,6 +288,10 @@ function eval_config {
     TEMPLATE_STORAGE_STYLE="own-folder"
   fi
 
+  if [ ! -z "$ROOT" ]; then
+    JAIL_ROOT="$ROOT"
+  fi
+
 }
 
 function default_version {
index 656d5685bce49736d73bf76cb7dbfd18b4d7bd2e..b318f94c5279d8c4841679e6ad864340e5658eaa 100755 (executable)
@@ -63,6 +63,11 @@ function template_svn_commit {
 
 }
 
+# TODO: command line parsing: with no arguments, jail-commit
+#       does exactly what it does now, but we also need to add
+#       options to choose just one jail to commit; perhaps
+#       make this similar to jail-update command line behaviour.
+
 if [ -f $JAIL_LIST ]; then
   for jailpath in `cat $JAIL_LIST`; do
     jail="`basename $jailpath`"
index d2eea48e247cb1155fd8c7e6a74eaeace67cec66..c30bcdd370ebfd0bd10faec69d7dfd6906d3ca75 100755 (executable)
@@ -63,9 +63,12 @@ function usage {
   # TODO: -i | --import
   #       -co | --checkout
 
+  # formas de iniciar a construcao de templates:
+  #
   # - importado o /etc/simplepkg/templates
-  # - importado apenas um template
+  # - importado apenas um template?
   # - nao importado nada 
+  #
 
 }