diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-02-11 22:07:34 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-02-11 22:07:34 +0000 |
commit | 50570901c1743d507dd4ca347b161786cab608f0 (patch) | |
tree | 7215b09cd71c05c14bde594ef499a522a0c94812 /trunk/src/jail-commit | |
parent | c6df3969c725f6a102a0d4ae9d8a7265eba48c85 (diff) | |
download | simplepkg-50570901c1743d507dd4ca347b161786cab608f0.tar.gz simplepkg-50570901c1743d507dd4ca347b161786cab608f0.tar.bz2 |
templatepkg: now -c is different from -u
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@186 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/jail-commit')
-rwxr-xr-x | trunk/src/jail-commit | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit index d6e18f3..656d568 100755 --- a/trunk/src/jail-commit +++ b/trunk/src/jail-commit @@ -36,8 +36,7 @@ function template_merge { return 1 fi - rm -f $TEMPLATE_BASE.perms - touch $TEMPLATE_BASE.perms + echo "" > $TEMPLATE_BASE.perms cd $TEMPLATE_BASE.d for file in `find`; do @@ -57,8 +56,7 @@ function template_merge { function template_svn_commit { - if [ "$TEMPLATES_UNDER_SVN" == "1" ] && \ - [ "$TEMPLATE_STORAGE_STYLE" == "own-folder" ]; then + if use_svn; then cd `basedir $TEMPLATE_BASE` svn commit -m "changes for `date`" fi |