diff options
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/templatepkg | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 1bf3a99..e605011 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -54,7 +54,7 @@ function usage { echo "" echo " -s | --sync: sync $BASE_CONF/templates working copy; arguments are:" echo "" - echo " $BASENAME -d <template>" + echo " $BASENAME -s" echo "" echo " -e | --export: export $BASE_CONF/templates to a svn repository; arguments are:" echo "" @@ -415,11 +415,9 @@ elif [ "$1" == "-d" ] || [ "$1" == "--delete" ]; then elif [ "$1" == "-s" ] || [ "$1" == "--sync" ]; then - if use_svn; then - if [ -d "$TEMPLATE_BASE.d/.svn" ]; then - ( cd $TEMPLATE_BASE.d && svn update ) - true - fi + if use_svn && [ -d "$BASE_CONF/templates/.svn" ]; then + ( cd $BASE_CONF/templates && svn update ) + true fi elif [ "$1" == "-e" ] || [ "$1" == "--export" ]; then |