Update of /cvsroot/monetdb/java
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4507

Modified Files:
        rpm.mk.in 
Log Message:
Be more restrictive in the files we remove #line from.

Index: rpm.mk.in
===================================================================
RCS file: /cvsroot/monetdb/java/rpm.mk.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- rpm.mk.in   10 Dec 2007 09:37:09 -0000      1.7
+++ rpm.mk.in   11 Dec 2007 12:00:28 -0000      1.8
@@ -47,6 +47,6 @@
 cleanup_distr:
        find MonetDB-java-* -perm -0100 -type f ! -name \*.bat ! -name \*.sh ! 
-exec grep -q '^#!' {} \; -exec chmod a-x {} \;
        find MonetDB-java-* -type f ! -name \*.in ! -name configure ! -name 
\*.spec -print | while read i; do test -f "$${i}.in" && rm -f "$${i}"; done || 
true
-       find MonetDB-java-* -type f -exec sed -n -e "/^#line/!w 
$${TMPDIR:-/var/tmp}/mn-dist-$$$$" {} \; -exec chmod u+w {} \; -exec cp 
$${TMPDIR:-/var/tmp}/mn-dist-$$$$ {} \; && rm -f 
$${TMPDIR:-/var/tmp}/mn-dist-$$$$
+       find MonetDB-java-* \( -name '*.[chm]' -o -name '*.cc' -o -name '*.mal' 
\) -exec sed -n -e "/^#line/!w $${TMPDIR:-/var/tmp}/mn-dist-$$$$" {} \; -exec 
chmod u+w {} \; -exec cp $${TMPDIR:-/var/tmp}/mn-dist-$$$$ {} \; && rm -f 
$${TMPDIR:-/var/tmp}/mn-dist-$$$$
 
 dist-hook: cleanup_distr


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to