diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-02-14 23:08:34 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-02-14 23:08:34 +0000 |
commit | 6df8c81465374eaa4e07ce9580bb095dca04be7c (patch) | |
tree | 2fbdf0a48a0d03506383b486841d639c3c84a297 | |
parent | 3d7f72ccfa6641335ffec2bc6f19cd79cade30fd (diff) | |
download | simplepkg-6df8c81465374eaa4e07ce9580bb095dca04be7c.tar.gz simplepkg-6df8c81465374eaa4e07ce9580bb095dca04be7c.tar.bz2 |
small fixes & TODO update
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@188 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r-- | trunk/lib/common.sh | 4 | ||||
-rwxr-xr-x | trunk/src/jail-commit | 5 | ||||
-rwxr-xr-x | trunk/src/templatepkg | 5 |
3 files changed, 13 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index ac89596..28ee8ea 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -288,6 +288,10 @@ function eval_config { TEMPLATE_STORAGE_STYLE="own-folder" fi + if [ ! -z "$ROOT" ]; then + JAIL_ROOT="$ROOT" + fi + } function default_version { diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit index 656d568..b318f94 100755 --- a/trunk/src/jail-commit +++ b/trunk/src/jail-commit @@ -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`" diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index d2eea48..c30bcdd 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -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 + # } |