Update of /cvsroot/radmind/radmind
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv21958
Modified Files:
ra.sh
Log Message:
Fixes the find argument to something which will work with both older and
newer versions of GNU find.
Thanks Sean Sweda
Index: ra.sh
===================================================================
RCS file: /cvsroot/radmind/radmind/ra.sh,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** ra.sh 5 Jan 2007 20:42:16 -0000 1.36
--- ra.sh 7 Feb 2007 15:28:09 -0000 1.37
***************
*** 99,103 ****
dopreapply() {
if [ -d ${PREAPPLY} ]; then
! SCRIPTS=`find ${PREAPPLY} -perm +u+x \! -type d | sort`
if [ "${SCRIPTS}" ]; then
for script in ${SCRIPTS}; do
--- 99,103 ----
dopreapply() {
if [ -d ${PREAPPLY} ]; then
! SCRIPTS=`find ${PREAPPLY} -perm -u+x \! -type d | sort`
if [ "${SCRIPTS}" ]; then
for script in ${SCRIPTS}; do
***************
*** 110,114 ****
dopostapply() {
if [ -d ${POSTAPPLY} ]; then
! SCRIPTS=`find ${POSTAPPLY} -perm +u+x \! -type d | sort`
if [ "${SCRIPTS}" ]; then
for script in ${SCRIPTS}; do
--- 110,114 ----
dopostapply() {
if [ -d ${POSTAPPLY} ]; then
! SCRIPTS=`find ${POSTAPPLY} -perm -u+x \! -type d | sort`
if [ "${SCRIPTS}" ]; then
for script in ${SCRIPTS}; do
|