aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/templatepkg6
1 files changed, 2 insertions, 4 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index e605011..e2feaa7 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -122,7 +122,7 @@ function import_export_templates {
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
@@ -159,7 +159,7 @@ function template_create {
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`
@@ -275,8 +275,6 @@ function template_add {
local info_commit cwd
- mkdir -p $TEMPLATE_BASE.d
-
if [ -z "$1" ] || [ -z "$2" ]; then
return 1
fi