#
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
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