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

Modified Files:
        rpm.mk.in 
Log Message:
Remove #line directives from all packaged files to avoid confusion.
Made a command more portable by not using \{i%.in}.

Index: rpm.mk.in
===================================================================
RCS file: /cvsroot/monetdb/java/rpm.mk.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- rpm.mk.in   3 Dec 2007 08:24:22 -0000       1.4
+++ rpm.mk.in   6 Dec 2007 10:02:33 -0000       1.5
@@ -46,6 +46,7 @@
 
 cleanup_distr:
        find MonetDB-java-* -perm -0100 -type f ! -name \*.bat ! -name \*.sh ! 
-exec grep -q '^#!' {} \; -exec chmod a-x {} \;
-       find MonetDB-java-* -name \*.in ! -name configure.in ! -name \*.spec.in 
-print | while read i; do test -f $${i%.in} && rm -f $${i%.in}; done || true
+       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 mv -f 
$${TMPDIR:-/var/tmp}/mn-dist-$$$$ {} \;
 
 dist-hook: cleanup_distr


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to