]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
jail-commit: small fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 6 Apr 2007 20:18:09 +0000 (20:18 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 6 Apr 2007 20:18:09 +0000 (20:18 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@297 04377dda-e619-0410-9926-eae83683ac58

trunk/src/jail-commit

index 573e0c0ed8f25de530702e9495cbc93c4e8d6aeb..c336f95a4346bd5952ddd62657c461200f7b4d69 100755 (executable)
@@ -124,7 +124,7 @@ function do_commit {
 
   search_template $template --update
   if [ "$?" == "0" ] || ! echo $TEMPLATE_UPDATE_LIST | grep -q " `basename $TEMPLATE_BASE` "; then
-    TEMPLATE_UPDATE_LIST="$TEMPLATE_UPDATE_LIST `basename $TEMPLATE_BASE` " # the end space is important
+    TEMPLATE_UPDATE_LIST=" $TEMPLATE_UPDATE_LIST `basename $TEMPLATE_BASE` " # the spaces are important
     if [ "$jailpath" == "/" ]; then
       echo Updating main installation...
     else