aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/jail-commit
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 15:43:34 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-06 15:43:34 +0000
commit71b612263868dfab888f31086ba85c9bdb73674c (patch)
treee7bdf80ba72027ac7dcd2db0e096e7827a811ef6 /trunk/src/jail-commit
parent9abb526d0c1b359084b028161b881bd894c53877 (diff)
downloadsimplepkg-71b612263868dfab888f31086ba85c9bdb73674c.tar.gz
simplepkg-71b612263868dfab888f31086ba85c9bdb73674c.tar.bz2
lots of bugfixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@290 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/jail-commit')
-rwxr-xr-xtrunk/src/jail-commit6
1 files changed, 3 insertions, 3 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit
index d8cd987..f3d5f05 100755
--- a/trunk/src/jail-commit
+++ b/trunk/src/jail-commit
@@ -94,8 +94,10 @@ function template_svn_commit {
# usage: template_svn_commit <template-folder>
if use_svn && [ -d "$1/.svn" ]; then
- echo Commiting changes to the repository...
cd $1
+ echo First checking out from the repository...
+ svn update
+ echo Commiting changes to the repository...
svn commit -m "changes for `date`"
if [ "$?" != "0" ]; then
echo $BASENAME: commit error
@@ -142,11 +144,9 @@ elif [ "$1" == "--all" ]; then
elif echo $1 | grep -q -e "^--"; then
usage
elif [ ! -z "$1" ]; then
- echo "This is jail-commit; Run \"$BASENAME --help\" for help"
do_commit $1 $2
template_svn_commit `dirname $TEMPLATE_BASE`
else
- echo "This is jail-commit; Run \"$BASENAME --help\" for help"
if [ -f $JAIL_LIST ]; then
for jailpath in `cat $JAIL_LIST`; do
do_commit $jailpath