We do our nightly builds using a perl script which goes in and checks
for any checkins made since
the last build and then starts the new build. If no checkins have been
made since the last build there
is no build.
The way script checks for changes is that it goes through an array of
directories and performs
'p4 changes dir_name' command on them. Now here is my problem. In this
array of directories
I have a directory which has about 5 subdirectories. Out of these five I
do not want to check one
subdirectory. As of today the way I have defined my array is:
@ dirs = qw (//depot/foo/bar1/...,
//depot/foo/bar2/...,
//depot/foo/bar3/...);
Now under //depot/foo/bar3 there is a subdirectory, test, that I do not
want to check for.
Does anyone know a clever way of excluding one of the subdirectories. I
can go and explicitly
define all the subdirectories under bar3 but that will get me into
trouble if there are any new directories are
added.
Thanks,