From e352a04716420e5f566d24d8014ae1dc4c21fe63 Mon Sep 17 00:00:00 2001 From: Trygve Laugstol Date: Sun, 16 May 2004 14:33:11 +0000 Subject: [PATCH] o Removing the annoying error message: find: src/main/resources: No such file or directory git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162706 13f79535-47bb-0310-9956-ffa450edef68 --- maven-mboot/src/bash/maven.functions | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maven-mboot/src/bash/maven.functions b/maven-mboot/src/bash/maven.functions index e647ed0fad..96258c43c9 100755 --- a/maven-mboot/src/bash/maven.functions +++ b/maven-mboot/src/bash/maven.functions @@ -384,6 +384,11 @@ copyResources() for include in $includes do + if [ ! -d "$directory" ] + then + continue + fi + files=`eval "find $directory -name $include"` for file in $files