aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-05 14:21:51 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-05 14:21:51 +0000
commit4836ee41d746322e1c2586a96fa53f86cc587578 (patch)
treecf42a911aa666b8098721dbe70ca48992c6dffee /trunk/src
parentd2563da683b5a3ac83ac47ad28995e9855b15005 (diff)
downloadsimplepkg-4836ee41d746322e1c2586a96fa53f86cc587578.tar.gz
simplepkg-4836ee41d746322e1c2586a96fa53f86cc587578.tar.bz2
jail-commit: fix on template_merge
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@238 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/jail-commit5
1 files changed, 3 insertions, 2 deletions
diff --git a/trunk/src/jail-commit b/trunk/src/jail-commit
index 87383d0..9fa80ab 100755
--- a/trunk/src/jail-commit
+++ b/trunk/src/jail-commit
@@ -17,11 +17,12 @@
#
COMMON="/usr/libexec/simplepkg/common.sh"
+BASENAME="`basename $0`"
if [ -f "$COMMON" ]; then
source $COMMON
else
- echo "error: file $COMMON found, check your `basename $0` installation"
+ echo "error: file $COMMON found, check your $BASENAME installation"
exit 1
fi
@@ -46,7 +47,7 @@ function template_merge {
echo "" > $TEMPLATE_BASE.perms
cd $TEMPLATE_BASE.d
- for file in `find`; do
+ for file in `find | grep -v -e "/.svn$" | grep -v -e "/.svn/"`; do
if [[ -f "$file" && -f "$1/$file" ]]; then
if ! diff $file $1/$file; then
echo updating $file