Update of /cvsroot/monetdb/MonetDB5
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7367
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/MonetDB5/rpm.mk.in,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- rpm.mk.in 3 Dec 2007 08:24:45 -0000 1.14
+++ rpm.mk.in 6 Dec 2007 10:02:53 -0000 1.15
@@ -62,6 +62,7 @@
cleanup_distr:
find MonetDB5-server-* -perm -0100 -type f ! -name \*.bat ! -name \*.sh
! -exec grep -q '^#!' {} \; -exec chmod a-x {} \;
- find MonetDB5-server-* -name \*.in ! -name configure.in ! -name
\*.spec.in -print | while read i; do test -f $${i%.in} && rm -f $${i%.in}; done
|| true
+ find MonetDB5-server-* -type f ! -name \*.in ! -name configure ! -name
\*.spec -print | while read i; do test -f "$${i}.in" && rm -f "$${i}"; done ||
true
+ find MonetDB5-server-* -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