maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: maven-components/maven-mboot/src/bash maven.functions
Date Sat, 03 Jan 2004 07:01:15 GMT
jvanzyl     2004/01/02 23:01:15

  Modified:    maven-mboot/src/bash maven.functions
  Log:
  o strip ${basedir} out of the sourceDirectory if it exists.
  
  Revision  Changes    Path
  1.3       +1 -1      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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- maven.functions	3 Jan 2004 05:54:28 -0000	1.2
  +++ maven.functions	3 Jan 2004 07:01:15 -0000	1.3
  @@ -81,7 +81,7 @@
         cd $1
         
         # Look for source directory in project.xml
  -      sourceDirectory=`grep sourceDirectory project.xml | sed -e 's/^*//;s/<sourceDirectory>//;s/<\/sourceDirectory>//'`
  +      sourceDirectory=`grep sourceDirectory project.xml | sed -e 's/^*//;s/<sourceDirectory>//;s/<\/sourceDirectory>//;s/\${basedir}\///'`
   
         [ -z $sourceDirectory ] && sourceDirectory=src/main
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message