for component in $components; do
if [ ! -e "$TEMPLATE_BASE.$component" ]; then
- echo "$BASENAME: template component not found: $component; creating..."
+
+ echo "$BASENAME: template component not found: $TEMPLATE_BASE.$component; creating..."
cd `dirname $TEMPLATE_BASE`
info_commit="yes"
fi
+ elif use_svn && [ -d "$TEMPLATE_BASE/.svn" ] && \
+ ! svn_check $TEMPLATE_BASE.$component; then
+
+ cd `dirname $TEMPLATE_BASE`
+ svn add $TEMPLATE_BASE.$component
+ info_commit="yes"
+
fi
+
done
if [ "$info_commit" == "yes" ]; then