You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by tr...@apache.org on 2004/05/16 16:33:11 UTC
cvs commit: maven-components/maven-mboot/src/bash maven.functions
trygvis 2004/05/16 07:33:11
Modified: maven-mboot/src/bash maven.functions
Log:
o Removing the annoying error message:
find: src/main/resources: No such file or directory
Revision Changes Path
1.36 +5 -0 maven-components/maven-mboot/src/bash/maven.functions
Index: maven.functions
===================================================================
RCS file: /home/cvs/maven-components/maven-mboot/src/bash/maven.functions,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- maven.functions 16 Apr 2004 12:29:47 -0000 1.35
+++ maven.functions 16 May 2004 14:33:11 -0000 1.36
@@ -384,6 +384,11 @@
for include in $includes
do
+ if [ ! -d "$directory" ]
+ then
+ continue
+ fi
+
files=`eval "find $directory -name $include"`
for file in $files
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org