diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-04 14:08:10 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-04 14:08:10 +0000 |
commit | c2b3d4d405f932e4920da0e0f487236584aaaac7 (patch) | |
tree | f64072d1334472c3d42ee33452d3fc33ea033692 /trunk/src/templatepkg | |
parent | 86187ecfc2ef3ccc1d1e64546260643209d35aa4 (diff) | |
download | simplepkg-c2b3d4d405f932e4920da0e0f487236584aaaac7.tar.gz simplepkg-c2b3d4d405f932e4920da0e0f487236584aaaac7.tar.bz2 |
templatepkg: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@223 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/templatepkg')
-rwxr-xr-x | trunk/src/templatepkg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 3891f3b..8cc2bd6 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -159,12 +159,12 @@ function template_create { local template_base info_commit - if [ ! -d "$TEMPLATE_BASE" ]; then + if [ ! -d "`dirname $TEMPLATE_BASE`" ]; then if use_svn && [ -d "`dirname $TEMPLATE_BASE`/.svn" ]; then cd `dirname $TEMPLATE_BASE` - svn mkdir $TEMPLATE_BASE + svn mkdir `dirname $TEMPLATE_BASE` else - mkdir -p $TEMPLATE_BASE + mkdir -p `dirname $TEMPLATE_BASE` fi fi |