aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtrunk/src/templatepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index c537a52..c1b3b04 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -318,7 +318,7 @@ function template_add {
if use_svn && [ -d "$TEMPLATE_BASE.d/.svn" ]; then
- if ! svn_check $TEMPLATE_BASE.d/`dirname $file`; then
+ if [ ! -d "$TEMPLATE_BASE.d/`dirname $file`/.svn" ]; then
mkdir -p $TEMPLATE_BASE.d/`dirname $file`/
svn add $TEMPLATE_BASE.d/`dirname $file`/
fi