diff options
Diffstat (limited to 'trunk/src/templatepkg')
-rwxr-xr-x | trunk/src/templatepkg | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 3d2287b..aaa3eff 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -195,11 +195,15 @@ function template_create { if ! svn_check $TEMPLATE_BASE.d; then svn mkdir $TEMPLATE_BASE.d info_commit="yes" + else + mkdir $TEMPLATE_BASE.d fi if ! svn_check $TEMPLATE_BASE.s; then - svn mkdir $TEMPLATE.s + svn mkdir $TEMPLATE_BASE.s info_commit="yes" + else + mkdir $TEMPLATE_BASE.d fi if ! svn_check $TEMPLATE_BASE.template; then @@ -274,11 +278,11 @@ function template_update { if [ -f $TEMPLATE ]; then if ! `grep -v -e "^#" $TEMPLATE | cut -d : -f 1 | awk '{ print $1 }' | grep -q -e "^$pack\$"`; then echo $pack >> $TEMPLATE - echo Added $pack on $TEMPLATE + echo Added $pack # on $TEMPLATE fi else echo $pack >> $TEMPLATE - echo Added $pack on $TEMPLATE + echo Added $pack # on $TEMPLATE fi done |