incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@apache.org
Subject svn commit: r662930 - /incubator/sling/trunk/etc/notice/mknotice
Date Wed, 04 Jun 2008 00:07:18 GMT
Author: fielding
Date: Tue Jun  3 17:07:17 2008
New Revision: 662930

URL: http://svn.apache.org/viewvc?rev=662930&view=rev
Log:
allow files to have comments with # prefix

Modified:
    incubator/sling/trunk/etc/notice/mknotice

Modified: incubator/sling/trunk/etc/notice/mknotice
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/etc/notice/mknotice?rev=662930&r1=662929&r2=662930&view=diff
==============================================================================
--- incubator/sling/trunk/etc/notice/mknotice (original)
+++ incubator/sling/trunk/etc/notice/mknotice Tue Jun  3 17:07:17 2008
@@ -82,7 +82,7 @@
 	done | cut -d= -f2
 }
 
-#Ɗcollect dependencies, map them to their notice
+# collect dependencies, map them to their notice
 # files and concatenate those
 generate_notice() {
 	set_project_name
@@ -106,8 +106,8 @@
 		  echo ""
 		  echo ""
 		done
-		[[ -f $LOCAL_NOTICE ]] && cat $LOCAL_NOTICE
+		[[ -f $LOCAL_NOTICE ]] && egrep '^($|[^#])' $LOCAL_NOTICE
 	) | cat -s
 }
 
-generate_notice
\ No newline at end of file
+generate_notice



Mime
View raw message