aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/templatepkg
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/templatepkg')
-rwxr-xr-xtrunk/src/templatepkg2
1 files changed, 2 insertions, 0 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index 8d98950..0eee075 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -153,6 +153,7 @@ function import_export_templates {
# usage: template_export <import|export> <repository>
local templates templates_folder basedir repository mode preposition
+ local repository_type repository_path
if [ "$?" != 0 ]; then
usage
@@ -179,6 +180,7 @@ function import_export_templates {
if [ "$mode" == "export" ]; then
preposition="to"
+ check_and_create_svn_repo $repository
echo Exporting templates to $repository...
svn import $templates/ $repository/ -m "initial import"
if [ "$?" != "0" ]; then