aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 16:02:44 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 16:02:44 +0000
commit1c390f05461234f6fbbf27c8a546c75ccef47950 (patch)
tree64f812a0c134e2e68dfb7bfc9ad1dbb7fb43d7bc /trunk/src
parentd17c8cd8f3624e4206bdc27bf8a8d39834ff2ffd (diff)
downloadsimplepkg-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
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/templatepkg6
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`