aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
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