[pkg-java] r5918 - trunk/eclipse/debian
mkoch at alioth.debian.org
mkoch at alioth.debian.org
Sat Mar 1 13:37:01 UTC 2008
Author: mkoch
Date: 2008-03-01 13:37:00 +0000 (Sat, 01 Mar 2008)
New Revision: 5918
Modified:
trunk/eclipse/debian/changelog
trunk/eclipse/debian/rules
Log:
* Make Debian version injection work more reliable.
Modified: trunk/eclipse/debian/changelog
===================================================================
--- trunk/eclipse/debian/changelog 2008-03-01 13:35:56 UTC (rev 5917)
+++ trunk/eclipse/debian/changelog 2008-03-01 13:37:00 UTC (rev 5918)
@@ -2,6 +2,7 @@
* New upstream version.
* Suppress warnings from javac.
+ * Make Debian version injection work more reliable.
-- Michael Koch <konqueror at gmx.de> Thu, 14 Feb 2008 16:11:12 +0100
Modified: trunk/eclipse/debian/rules
===================================================================
--- trunk/eclipse/debian/rules 2008-03-01 13:35:56 UTC (rev 5917)
+++ trunk/eclipse/debian/rules 2008-03-01 13:37:00 UTC (rev 5918)
@@ -494,10 +494,9 @@
mkdir -p $(BUILD_TREE)
# Put debian version into about.mappings of org.eclipse.sdk to show it
- # in Eclispe about dialog.
- plugin_dir=$$(ls -d $(DEBIAN_TMP)/$(ECLIPSE_HOME)/plugins/org.eclipse.sdk_$(UPSTREAM_VERSION)*) ; \
- sed -e "s/\(0=.*\)/\1 ($(DISTRIBUTION) version: $(SOURCE_VERSION))/" < $$plugin_dir/about.mappings > $$plugin_dir/about.mappings.tmp ; \
- mv $$plugin_dir/about.mappings.tmp $$plugin_dir/about.mappings
+ # in Eclipse about dialog.
+ plugin_dir=$$(ls -d $(DEBIAN_TMP)/$(ECLIPSE_HOME)/plugins/org.eclipse.sdk_*) ; \
+ sed --in-place "s/\(0=.*\)/\1 ($(DISTRIBUTION) version: $(SOURCE_VERSION))/" $$plugin_dir/about.mappings
# Extract our icon. It is uuencoded because binary files cannot be
# included in a source package.
More information about the pkg-java-commits
mailing list