diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-06 20:21:22 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-06 20:21:22 +0000 |
commit | 17aafaf006bbe51ca6f9482c8e15b5f6e423061d (patch) | |
tree | f3a8566cc88a18df9e002ecf51c30655afbaa6c3 /trunk/src | |
parent | 40a0e14368d23967ef16ebf65730b03ac36e5399 (diff) | |
download | simplepkg-17aafaf006bbe51ca6f9482c8e15b5f6e423061d.tar.gz simplepkg-17aafaf006bbe51ca6f9482c8e15b5f6e423061d.tar.bz2 |
jail-commit: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@299 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/jail-commit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit index c910c03..84748aa 100755 --- a/trunk/src/jail-commit +++ b/trunk/src/jail-commit @@ -123,7 +123,7 @@ function do_commit { fi search_template $template --update - if [ "$?" == "0" ] && ! echo $TEMPLATE_UPDATE_LIST | grep -q " `basename $TEMPLATE_BASE` "; then + if [ "$?" == "0" ] && ! echo "$TEMPLATE_UPDATE_LIST" | grep -q " `basename $TEMPLATE_BASE` "; then TEMPLATE_UPDATE_LIST=" $TEMPLATE_UPDATE_LIST `basename $TEMPLATE_BASE` " # the spaces are important if [ "$jailpath" == "/" ]; then echo Updating main installation... |