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 ""
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