[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

./packages/openofficeorg/3.2/experimental r1783: don't only do a grep but actually also overwrite the old file.... grr...



------------------------------------------------------------
revno: 1783
committer: Rene Engelhard <rene@debian.org>
branch nick: experimental
timestamp: Wed 2010-01-27 02:13:37 +0100
message:
  don't only do a grep but actually also overwrite the old file.... grr...
modified:
  rules
=== modified file 'rules'
--- a/rules	2010-01-26 23:22:04 +0000
+++ b/rules	2010-01-27 01:13:37 +0000
@@ -3322,7 +3322,9 @@
 	dh_makeshlibs -puno-libs3 -V"ure (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }'))" -- -c0 
 	dh_makeshlibs -n -pure -V"ure (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }'))"
 	# ugly hack, but why does that happen? It's not in .symbols...
-	grep -v PRIVATE debian/uno-libs3/DEBIAN/symbols
+	TMP=`mktemp -q`; \
+	grep -v PRIVATE debian/uno-libs3/DEBIAN/symbols > $$TMP && \
+	mv $$TMP debian/uno-libs3/DEBIAN/symbols
 	dh_installdeb -s
 	cp debian/shlibs.local.in debian/shlibs.local
 ifeq "$(USE_SYSTEM_ICU)" "n"


Reply to: