if [ "$mode" == "export" ]; then
preposition="to"
- svn import templates $repository -m "initial import"
+ svn import templates/ $repository/ -m "initial import"
if [ "$?" != "0" ]; then
echo $BASENAME: export failed
exit 1
local template_base info_commit
- if [ ! -d "`dirname $TEMPLATE_BASE`" ]; then
+ if [ ! -d "`dirname $TEMPLATE_BASE`" ]; then
if use_svn && [ -d "`dirname $TEMPLATE_BASE`/.svn" ]; then
cd `dirname $TEMPLATE_BASE`
svn mkdir `dirname $TEMPLATE_BASE`
local info_commit cwd
- mkdir -p $TEMPLATE_BASE.d
-
if [ -z "$1" ] || [ -z "$2" ]; then
return 1
fi