Subversion Repositories svn.Prod repos

Rev

Rev 33 | Rev 43 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33 Rev 37
Line 21... Line 21...
21
 
21
 
22
Usage()
22
Usage()
23
{
23
{
24
	mesg="$1"
24
	mesg="$1"
25
 
25
 
26
	echo "Usage : $progname directory"
26
	echo "Usage: $progname directory"
27
	echo $mesg
27
	echo $mesg
28
}
28
}
29
 
29
 
30
#
30
#
31
# we need local vars to keep the value when called recursively
31
# we need local vars to keep the value when called recursively
Line 81... Line 81...
81
	directory=$1
81
	directory=$1
82
	if [ -d $directory ]
82
	if [ -d $directory ]
83
	then 
83
	then 
84
		start_traverse $directory
84
		start_traverse $directory
85
	else
85
	else
86
		Usage "ERROR: No directory $directory found"
86
		Usage "ERROR: No a directory : $directory"
87
	fi
87
	fi
88
else
88
else
89
	Usage "ERRROR: 1 argument expected"
89
	Usage "ERROR: 1 argument expected"
90
fi
90
fi