diff options
| author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-06 16:02:44 +0000 | 
|---|---|---|
| committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-06 16:02:44 +0000 | 
| commit | 1c390f05461234f6fbbf27c8a546c75ccef47950 (patch) | |
| tree | 64f812a0c134e2e68dfb7bfc9ad1dbb7fb43d7bc | |
| parent | d17c8cd8f3624e4206bdc27bf8a8d39834ff2ffd (diff) | |
| download | simplepkg-1c390f05461234f6fbbf27c8a546c75ccef47950.tar.gz simplepkg-1c390f05461234f6fbbf27c8a546c75ccef47950.tar.bz2  | |
some more fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@292 04377dda-e619-0410-9926-eae83683ac58
| -rwxr-xr-x | trunk/src/templatepkg | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 4872621..69b4510 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -200,7 +200,7 @@ function template_create {    touch $TEMPLATE_BASE.perms    touch $TEMPLATE_BASE.template -  if use_svn && [ -d "$TEMPLATE_BASE/.svn" ]; then +  if use_svn && [ -d "`dirname $TEMPLATE_BASE`/.svn" ]; then      cd `dirname $TEMPLATE_BASE` @@ -482,12 +482,12 @@ function check_template_exist {          mkdir $TEMPLATE_BASE.$component        fi -      if use_svn && [ -d "$TEMPLATE_BASE/.svn" ]; then +      if use_svn && [ -d "`dirname $TEMPLATE_BASE`/.svn" ]; then          svn add $TEMPLATE_BASE.$component          info_commit="yes"        fi -    elif use_svn && [ -d "$TEMPLATE_BASE/.svn" ] && \ +    elif use_svn && [ -d "`dirname $TEMPLATE_BASE`/.svn" ] && \           ! svn_check $TEMPLATE_BASE.$component; then        cd `dirname $TEMPLATE_BASE`  | 
