aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-04 16:31:22 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-04 16:31:22 +0000
commitab73923798c319034802451de269ba08f8c81b51 (patch)
treeb0f6f29beace984373acdd25275ba601604f08cf
parent74e629cae100b0717e0482d8dece9e6675620c3e (diff)
downloadsimplepkg-ab73923798c319034802451de269ba08f8c81b51.tar.gz
simplepkg-ab73923798c319034802451de269ba08f8c81b51.tar.bz2
templatepkg: smal fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@231 04377dda-e619-0410-9926-eae83683ac58
-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